Skip to main content
Skip to main content

Func1

Func1: (input: T extends WorkflowData<infer U> ? U : T extends object ? { [K in keyof T]: T[K] extends WorkflowData<infer U> ? U : T[K] } : {}, context: StepExecutionContext) => U | Promise<U>

Type Parameters

Tobject | WorkflowDataRequired
UobjectRequired

Type declaration

Parameters

inputT extends WorkflowData<infer U> ? U : T extends object ? { [K in keyof T]: T[K] extends WorkflowData<infer U> ? U : T[K] } : {}Required
contextStepExecutionContextRequired

Returns

U \| Promise&#60;U&#62;U | Promise<U>
Was this section helpful?