[][src]Crate revenq

Nomenclature

This library generally is designed to handle events. It doesn't "pin" the user to a single event container, instead, it abstracts away from this and generally handles so-called revisions, which may contain one event at a time, or a Vec<Event>, the only requirements are that the revisions must be safe to send across threads, contain no depending lifetimes (e.g. is 'static), and have a size known at compile time (due to limitations of AtomicPtr).

Modules

prelude

Structs

PendingMap

This struct contains the parameters for the with_f function, given to the QueueInterface::publish_with method.

Queue

A simple event / revision queue

WokeQueue

An event / revision queue with the ability to wait for new events

Traits

QueueInterface

Common interface for all provided event / revision queues