Skip to main content

LazyArray TypeAlias

A function which returns an array of lazy values which each evaluate to T.

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature

type LazyArray<T> = () => readonly (() => T)[];

Type Parameters

ParameterDescription
TThe type each lazy value evaluates to.

Remarks

This mirrors the shape of AllowedTypes where all of the values are lazy: the outer function and inner functions defer evaluation until after composition is complete.