本页还没有译文
本页 11 段还没译成Русский,下面显示的是英文原文。handleWorkflowWebhook
还没翻译译自英文(tanstack.com)本页 11 段都还没译
Function: handleWorkflowWebhook()
function handleWorkflowWebhook(options): Promise<readonly WorkflowEvent[]>;Defined in: packages/workflow-core/src/engine/handle-webhook.ts:44
Drive one webhook-triggered invocation of a workflow to its next pause point (or completion).
Intended for Durable-Streams-style execution where the workflow
lives as a stateless HTTP handler that the streams server POSTs to
when external events arrive. Reads the run's history from the
runStore, replays user code, advances past the seed delivery,
pauses at the next awaitable, returns.
Returns the list of events appended during this invocation — useful for the caller to forward as the HTTP response body if the streams server wants confirmation of the new state.
Parameters
options
Returns
Promise<readonly WorkflowEvent[]>
AI 翻译查看英文原文