Search...

lazy

export declare function lazy<T>(cb: () => T): () => T;
export declare function lazy<T>(cb: () => T): () => T;
Lazily evaluate a callback, storing its result
NameConstraintsOptionalDefaultDescription
TNoNone
NameTypeOptionalDescription
cb() => TNoNone