Safe Haskell | Trustworthy |
---|
Scheduler.Main
- data MainScheduler
- getMainScheduler :: IO MainScheduler
- runMainScheduler :: IO ()
Documentation
getMainScheduler :: IO MainSchedulerSource
Returns a scheduler representing the main thread.
Note that runMainScheduler
must be called for enqueued actions to actually execute.
runMainScheduler :: IO ()Source
Runs the main scheduler indefinitely using the current thread. The current thread will be bound if possible.