import { extendPayload } from '@intuned/runtime';
export declare function extendPayload(
payload: Payload | Payload[]
): void;
In the context of a job, extends the job execution with the provided payloads after the current payload execution succeeds.
Will implicitly call extendTimeout.
Parameters
The payload or list of payloads to extend the job with.
Payload
export interface Payload {
api: string;
parameters: Record<string, any>;
}
Properties
The name of the API to extend.
parameters
Record<string, any>
required
The parameters to pass to the API.