stm-sbchan

Bounded channel for STM where item sizes can vary https://github.com/joeyadams/haskell-stm-sbchan

Latest on Hackage:0.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Joey Adams

This library provides a bounded first-in first-out channel type for use in STM. It supports a limit on the total size of items in the channel.

stm-sbchan also provides a few features not found in other bounded channel libraries, such as:

  • Alternative overflow strategies cramSBChan and rollSBChan. cramSBChan ignores the channel's size limit, and rollSBChan removes old items from the beginning of the channel when it fills up.

  • The channel limit can be adjusted at runtime.

Depends on:
Used by 1 package:
comments powered byDisqus