Skip to main content

Type Alias: ActivityFunction<In, Out>

ActivityFunction<In, Out> = (ctx, args) => Out | Promise<Out>

Type Parameters​

In​

In = Json

Out​

Out = Json

Parameters​

ctx​

ActivityContext

args​

In

Returns​

Out | Promise<Out>