Skip to content

GramIO API Reference / @gramio/composer/dist / DeriveHandler

Type Alias: DeriveHandler()<T, D>

DeriveHandler<T, D> = (context) => D | Promise<D>

Defined in: composer/index.d.ts:14

Function that computes additional context properties

Type Parameters

Type Parameter
T
D

Parameters

ParameterType
contextT

Returns

D | Promise<D>