Function: parseInterruptResponses()
parseInterruptResponses(
raw):InterruptResponse[] |undefined
Defined in: packages/core/src/interrupt/types.ts:116
A batch of InterruptResponses from untrusted input (a request
body): { interruptId, value } or { interruptId, cancelled: true, reason? }.
Undefined when absent; throws an Error naming the first malformed item.
Parameters
raw
unknown
Returns
InterruptResponse[] | undefined