Function: flushOutboxWithin()
flushOutboxWithin(
kernel,maxEvents,timeoutMs,parent?):Promise<OutboxFlushResult|undefined>
Defined in: packages/workflow-engine/src/kernel/helpers/host-support.ts:555
Bound the caller's wait and stop the dispatch before it starts more work. An already-started sink call can still settle and acknowledge its claim.
Parameters
kernel
Pick<Kernel, "dispatch">
maxEvents
number
timeoutMs
number
parent?
Pick<AbortSignal, "aborted">
Returns
Promise<OutboxFlushResult | undefined>