Skip to content

Type Alias: PropertyOptionsMetadataResult<ResultT>

PropertyOptionsMetadataResult<ResultT> = ResultT | { cacheTtlSecs?: number; result: ResultT; }

Defined in: api_types.ts:1539

The result of a property options formula. This is either an array, or an array combined with cacheTtlSecs to indicate how long the results can be cached for. The default cacheTtlSecs is about 5 minutes, if unspecified.

Type Parameters

Type Parameter
ResultT extends PackFormulaResult[]