immortal-queue

Build a pool of queue-processing worker threads.

https://github.com/prikhi/immortal-queue#readme

Version on this page:0.1.0.0
LTS Haskell 22.18:0.1.0.1
Stackage Nightly 2024-04-25:0.1.0.1
Latest on Hackage:0.1.0.1

See all snapshots immortal-queue appears in

BSD-3-Clause licensed by Pavan Rikhi
Maintained by [email protected]
This version can be pinned in stack with:immortal-queue-0.1.0.0@sha256:e71a055be75718de5675630706f36a5ec1af2f8c89d02128cba7a4126bbf83de,2490

Module documentation for 0.1.0.0

Depends on 3 packages(full list with versions):

Immortal Queue

immortal-queue Build Status

A Haskell library for building a pool of queue-processing worker threads, leveraging the immortal package.

Usage

To use this library, build an ImmortalQueue value describing how to manipulate and process your queue. Then you start start the pool using the processImmortalQueue function and close or kill it with closeImmortalQueue or killImmortalQueue.

For a simple example using a TQueue, please refer to the haddock documentation for the module.

For a more complex example that uses a persistent database as a queue backend, see the Southern Exposure Seed Exchange’s Workers module.

Developing

You can build the project with stack:

stack build

For development, you can enable fast builds with file-watching, documentation-building, & test-running:

stack test --haddock --fast --file-watch --pedantic

To build & open the documentation, run:

stack haddock --open immortal-queue

LICENSE

BSD-3

The original code for this package was lifted from Southern Exposure Seed Exchange’s website.

Changes

CHANGELOG

v0.1.0.0

  • Initial release