Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Type Alias: DefineActionHelper()

DefineActionHelper: <T>(name, func, params?, description?) => ActionDefinition

The defineAction helper type. Internal use only.

Type Parameters

T

the type of action parameter.

Parameters

name: string

the action name.

func: ActionHandler<T>

the action handler.

params?: ParameterDefinition<T>[]

the definition of action parameters.

description?: string

the action description.

Returns

ActionDefinition

the definition of an action.