addSuspension

Registers a suspension continuation for the specified interest.

Report a problem

Parameters

interest

the type of I/O operation to wait for

continuation

the coroutine continuation to resume when the operation is ready

Throws

if a handler for this interest is already registered