UNPKG

@hotmeshio/hotmesh

Version:

Serverless Workflow

8 lines (7 loc) 366 B
/** * Sends a signal payload to any paused workflow thread awaiting this signal. * @param {string} signalId - Unique signal identifier. * @param {Record<any, any>} data - The payload to send with the signal. * @returns {Promise<string>} The resulting hook/stream ID. */ export declare function signal(signalId: string, data: Record<any, any>): Promise<string>;