Idris2Doc : IO.Async.JS

IO.Async.JS

(source)

Reexports

importpublic JS.Util
importpublic JS.Promise
importpublic IO.Async
importpublic IO.Async.Logging
importpublic IO.Async.Loop
importpublic IO.Async.Loop.TimerH

Definitions

recordJS : Type
Totality: total
Visibility: export
Constructor: 
J : IORefBool->IORef (SnocListTask) ->JS

Projections:
.queue : JS->IORef (SnocListTask)
  Work queue of this worker
.running : JS->IORefBool
  Reference indicating whether the queue is currently
being processed

Hints:
EventLoopJS
TimerHJS
app : AsyncJS [] () ->IO ()
Visibility: export
promise : HasJSErres=>Promisea->AsyncJSesa
  Converts a JavaScript `Promise` to an `Async` by registering
proper `resolve` and `reject` handlers.

Totality: total
Visibility: export
jsunerr : LoggableJSJSErr=>t->AsyncJS [JSErr] t->AsyncJS [] t
Totality: total
Visibility: export
jsunerrMaybe : LoggableJSJSErr=>AsyncJS [JSErr] t->AsyncJS [] (Maybet)
Totality: total
Visibility: export
jslogErrs : LoggableJSJSErr=>AsyncJS [JSErr] () ->AsyncJS [] ()
Totality: total
Visibility: export