Module Fut.Queue

Future queues.

Queues

type t = queue

See queue.

val concurrent : queue

concurrent is a special future queue. Applications added to it are all executed concurrently, the FIFO order is not guaranteed.

val create : ?⁠label:string -> unit -> queue

queue ~label () is a new queue with the given label, if unspecified a label is automatically generated.

val label : queue -> string

queue_label q is q's label.