schedule-0.0: Schedule sub-computations to run later, in a pure way

Safe HaskellNone
LanguageHaskell2010

Control.Monad.Trans.Schedule.Base

Description

Run a pure scheduled computation impurely via MonadBase

Synopsis

Documentation

baseLiftClock :: MonadBase c m => LiftClock c m Source

Lift a clock computation at the base of the monad transformer stack.

getClockNow :: MonadBase c m => ScheduleT c m Tick Source

As getClockNow' but without the need for an explicit LiftClock.

runTasks :: MonadBase c m => ScheduleT c m () Source

As runTasks' but without the need for an explicit LiftClock.

runScheduleT :: MonadBase c m => ScheduleT c m a -> Clock c -> m (a, TaskState c m) Source

As runScheduleT' but without the need for an explicit LiftClock.