Packages > @fluidframework/tree >

FlexList

A flexible way to list values. Each item in the list can either be an “eager” **value** or a “lazy” **function that returns a value** (the latter allows cyclic references to work).

Signature

export type FlexList<Item = unknown> = readonly LazyItem<Item>[];

Type Parameters

Parameter Default Description
Item unknown