Skip to main content

Function: all()

all<C, I, RawData, Data, Deserialized, Next>(transform?): (action) => Promise<Next>

Run the action and deserialize an array of model's instance.

Type parameters

C extends object

I extends never

RawData

Data

Deserialized extends DeserializedData <ModelInstance>

Next = I[]

Parameters

transform?

Returns

Function

Parameters

action: Action<C & ConsumeAdapter<RawData, Data> & ConsumeDeserializer<NonNullable<Data>, Deserialized>>

Returns

Promise<Next>

Source

packages/core/src/actions/context/runners/all.ts:64