| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Control.Eff.Concurrent.Process.SingleThreadedScheduler
Description
A coroutine based, single threaded scheduler for Processes.
- schedule :: forall r. Eff (Process r ': r) () -> Eff r ()
- scheduleWithYield :: forall r. Eff r () -> Eff (Process r ': r) () -> Eff r ()
- defaultMain :: HasCallStack => Eff '[Process '[Logs String, Lift IO], Logs String, Lift IO] () -> IO ()
- singleThreadedIoScheduler :: SchedulerProxy LoggingAndIo
- type LoggingAndIo = '[Logs String, Lift IO]