Skip to main content

Parameters

string
required
The step’s name, up to 128 characters. It can repeat: steps of the same name are matched in order.
() => T | Promise<T>
required
The work to do. What it returns must fit in JSON.

Returns

What fn returned, passed through JSON. Once the step is saved, every call after gets this value back without running fn again.

Errors

Example