Skip to main content
Each task is called with a context object which contains some input data on the data property. The task is expected to return some output data which will be used as the input for the next task.
The return value of the task should be a serializable by JSON.stringify(), or a Promise which resolves to a serializable value.Users should not return the context object as this will cause the runtime to fail.