Idris2Doc : IO.Async.Loop.Sync

IO.Async.Loop.Sync

(source)

Reexports

importpublic IO.Async.Loop

Definitions

recordSyncST : Type
  State of a synchronous event loop with timers

Totality: total
Visibility: export
Constructor: 
SST : Timer->IORef (SnocList (FbrStateSyncST)) ->IORefBool->SyncST

Projections:
.queue : SyncST->IORef (SnocList (FbrStateSyncST))
.running : SyncST->IORefBool
.timer : SyncST->Timer

Hints:
EventLoopSyncST
TimerHSyncST
sync : IOSyncST
  A synchronous event loop running all asynchronous computations
on the calling thread.

This will block the calling thread after submitting a work package until
the package has been completed.

Visibility: export