Idris2Doc : FS.Concurrent.Util

FS.Concurrent.Util

(source)

Definitions

awaitRes : DeferredWorld (Resultesa) ->Asynceesa
  Awaits the completion of a `Deferred`, wrapping the
result with the potential of failure.

Totality: total
Visibility: export
putErr : DeferredWorld (Resultes ()) ->Outcomees () ->Asynce [] ()
  Finalizes a deferred in case of an `Error` outcome.

Totality: total
Visibility: export
parrunCase : DeferredWorlda-> (Outcomefs () ->Asynce [] ()) ->EmptyStream (Asynce) fs->Asyncees (Fiber [] ())
  Concurrently runs the given stream until it either terminates or
is interrupted by `check`.

This is a low-level utility used to implement the combinators in this
module. It is exported, because it might be useful when
implementing other combinators,

Totality: total
Visibility: export
parrun : DeferredWorlda->Asynce [] () ->EmptyStream (Asynce) fs->Asyncees (Fiber [] ())
  Concurrently runs the given stream until it either terminates or
is interrupted by `check`.

This is a low-level utility used to implement the combinators in this
module. It is exported, because it might be useful when
implementing other combinators,

Totality: total
Visibility: export