unliftio-messagebox-2.0.0: Fast and robust message queues for concurrent processes
Safe HaskellNone
LanguageHaskell2010

UnliftIO.MessageBox.Unlimited

Description

Thread safe queues for message passing between many concurrent processes.

This message box is UNLIMITED.

Good single producer/single consumer performance

If you are sure that the producer(s) send messages at a lower rate than the rate at which the consumer consumes messages, use this module.

Otherwise use the more conservative UnliftIO.MessageBox.Limited module.

Synopsis

Documentation

data UnlimitedBox a Source #

A message queue out of which messages can by received.

This is the counter part of Input. Can be used for reading messages.

Messages can be received by receive or tryReceive.

Instances

Instances details
IsMessageBox UnlimitedBox Source #

A blocking instance that invokes receive.

Instance details

Defined in UnliftIO.MessageBox.Unlimited

Associated Types

type Input UnlimitedBox :: Type -> Type Source #

type Input UnlimitedBox Source # 
Instance details

Defined in UnliftIO.MessageBox.Unlimited

data UnlimitedBoxInput a Source #

A message queue into which messages can be enqued by, e.g. deliver. Messages can be received from an UnlimitedBox.

The UnlimitedBoxInput is the counter part of a UnlimitedBox.

Instances

Instances details
IsInput UnlimitedBoxInput Source #

A blocking instance that invokes deliver.

Instance details

Defined in UnliftIO.MessageBox.Unlimited