Constructors
Job_ (WorkerId -> m ())
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · 8c2f8e8 · 2026-10-19
Modulescheduler-2.0.1.0Haskell2010
Job_ (WorkerId -> m ())A unique id for the worker in the Scheduler context. It will
always be a number from 0 up to, but not including, the number of workers a scheduler
has, which in turn can always be determined with numWorkers function.
Bounded WorkerIdDefined in scheduler-2.0.1.0 · Control.Scheduler.QueueEnum WorkerIdDefined in scheduler-2.0.1.0 · Control.Scheduler.QueueEq WorkerIdDefined in scheduler-2.0.1.0 · Control.Scheduler.QueueIntegral WorkerIdDefined in scheduler-2.0.1.0 · Control.Scheduler.QueueNum WorkerIdDefined in scheduler-2.0.1.0 · Control.Scheduler.QueueOrd WorkerIdDefined in scheduler-2.0.1.0 · Control.Scheduler.QueueRead WorkerIdDefined in scheduler-2.0.1.0 · Control.Scheduler.QueueReal WorkerIdDefined in scheduler-2.0.1.0 · Control.Scheduler.QueueShow WorkerIdDefined in scheduler-2.0.1.0 · Control.Scheduler.QueuePushes an item onto a queue and returns the previous count.
Pops an item from the queue. The job returns the total job counts that is still left in the queue
Clears any jobs that haven't been started yet. Returns the number of jobs that are still in progress and have not been yet been completed.
Extracts all results available up to now, the uncomputed ones are discarded. This also has an affect of resetting the total job count to zero.