Crate async_atomic

source ·
Expand description

Atomics which can be subscribed to and asynchronously notify when updated.

The main structure is Atomic that behaves like stdlib’s atomics, but don’t take an explicit Ordering for simplicity.

An Subscriber can be created from Atomic to asynchronously wait for changes. It is only one subscriber allowed for each atomic.

Structs§

Type Aliases§