Class: CancellationRegistry
Maps synthetic local backend keys onto real upstream cancellation targets.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CancellationRegistry(
forwarder?):CancellationRegistry
Parameters
Section titled “Parameters”forwarder?
Section titled “forwarder?”CancellationForwarder = forwardCancellation
Returns
Section titled “Returns”CancellationRegistry
Methods
Section titled “Methods”forward()
Section titled “forward()”forward(
message):Promise<boolean>
Parameters
Section titled “Parameters”message
Section titled “message”Returns
Section titled “Returns”Promise<boolean>
register()
Section titled “register()”register(
target):CancelMessage
Parameters
Section titled “Parameters”target
Section titled “target”Returns
Section titled “Returns”remove()
Section titled “remove()”remove(
message):void
Parameters
Section titled “Parameters”message
Section titled “message”Returns
Section titled “Returns”void