Constructs an Async
that represents an uninterruptible asynchronous
action.
Constructs an Async
that represents an uninterruptible asynchronous
action. The action should invoke the callback passed to the handler when
the value is available or the action has failed.
See IO.async0
for more information.
Constructs an Async
that represents an interruptible asynchronous
action.
Constructs an Async
that represents an interruptible asynchronous
action. The action should invoke the callback passed to the handler when
the value is available or the action has failed.
The specified canceler, which must be idempotent, should attempt to cancel the asynchronous action to avoid wasting resources for an action whose results are no longer needed because the fiber computing them has been terminated.
Constructs an Async
that represents a synchronous return.
Constructs an Async
that represents a synchronous return. The
handler should never invoke the callback.
See IO.async0
for more information.