Genkit JS API reference
Preparing search index...
genkit
beta
lazy
Function lazy
lazy
<
T
>
(
fn
:
()
=>
T
|
PromiseLike
<
T
>
)
:
PromiseLike
<
T
>
Lazily call the provided function to resolve the LazyPromise.
Type Parameters
T
Parameters
fn
:
()
=>
T
|
PromiseLike
<
T
>
Returns
PromiseLike
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Genkit JS API reference
Loading...
Lazily call the provided function to resolve the LazyPromise.