CallCancellation

interface
store/call.ts:53

What a responder is told when a call gives up on it.

Sent as the payload of the event named by CallOptions.cancel, so a responder doing long work can stop it instead of finishing for nobody.

Properties

NameTypeDescription
detail?stringThe reason given to cancel(), or the signal's abort reason, as text.
reason"cancelled" | "aborted" | "timeout"Why: "cancelled" by call.cancel(), "aborted" by the call's signal, or "timeout" after CallOptions.timeoutMs without a correlated event.
requestIdstringThe id of the request event being abandoned, which the responder saw as event.id.