Skip to content

lazy

const lazy: <T>(compute) => Lazy<T> = Lazy.of

Defined in: src/util/Lazy.ts:128

Shorthand alias matching Scala’s lazy val.

Build a lazy cell from a thunk. Preferred entry point.

T

() => T

Lazy<T>