RxHaskell-0.1: Reactive Extensions for Haskell

Safe HaskellTrustworthy

Scheduler.Main

Synopsis

Documentation

data MainScheduler Source

A scheduler which runs enqueued actions on the main thread.

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.