atomic-state 0.1.5

This library provides a static asynchronous data that can be accessed safely and concurrently from any part of your program
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![allow(unused_imports)]

pub(crate) use std::sync::{ Arc, };
pub(crate) use std::sync::{ RwLock, RwLockReadGuard, RwLockWriteGuard };
pub(crate) use std::sync::atomic::{ AtomicBool, Ordering, };
pub(crate) use std::fmt::Debug as Debugging;
pub(crate) use tokio::sync::{ Notify };

pub use once_cell::{ self, sync::Lazy };
pub use arc_swap::{ ArcSwapAny };

pub use crate::{
    Flag, State, StateGuard,
    lazy, lazy_flag, lazy_state,
};