BlogSign inGithub
Welcome
ConceptsGet started
Guides
Evals
LoggingDatasetsPromptsPlaygroundHuman reviewAccess controlAI proxyTracing
Self-hosting
API walkthrough
Cookbook
Typescript
BraintrustStateBraintrustStreamDatasetExperimentLazyValueLoggerNoopSpanPromptReadonlyExperimentSpanImpl
Python
API
Custom query syntaxTable viewsStreaming
Autoevals library
Release notes
ReferenceSDKTypescriptClasses

Class: LazyValue<T>

Type parameters

Name
T

Accessors

hasComputed

• get hasComputed(): boolean

Returns

boolean

Constructors

constructor

• new LazyValue<T>(callable): LazyValue<T>

Type parameters

Name
T

Parameters

NameType
callable() => Promise<T>

Returns

LazyValue<T>

Methods

get

▸ get(): Promise<T>

Returns

Promise<T>

Previous

Experiment

Next

Logger

Class: LazyValue<T>Type parametersAccessorshasComputedReturnsConstructorsconstructorType parametersParametersReturnsMethodsgetReturns
  • Docs
  • Pricing
  • Blog
  • Careers
  • Chat with us
  • Join us on Discord
  • Changelog
  • Privacy
  • Terms