Type Alias FlowFn<I, O, S>

FlowFn: (
    input: TypeOf<I>,
    streamingCallback: FlowSideChannel<TypeOf<S>>,
) => Promise<TypeOf<O>> | TypeOf<O>

Function to be executed in the flow.

Type Parameters

Type declaration