@hackage / monad-schedule

A new, simple, composable concurrency abstraction.

Latest1.6

About

Metadata

  • Last updated , by turion
  • License MIT
  • Categories Concurrency
  • Maintained by: programming@manuelbaerenz.de

  • Lottery factor: 1

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    dev (off by default)

    Enable warnings as errors. Active on ci.

Readme

A monad m is said to allow scheduling if you can pass a number of actions m a to it, and those can be executed at the same time concurrently. You can observe the result of the actions after some time: Some actions will complete first, and the results of these are returned then as a list NonEmpty a. Other actions are still running, and for these you will receive continuations of type m a, which you can further run or schedule to completion as you like.