Aller au contenu
Français

lazy

Ce contenu n’est pas encore disponible dans votre langue.

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

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

Shorthand alias matching Scala’s lazy val.

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

T

() => T

Lazy<T>