pub fn new(val: bool) -> Self {
        Self {
            notify_true: Arc::new(Notify::new()),
            notify_false: Arc::new(Notify::new()),
            inner: Arc::new(AtomicBool::new(val)),
        }
    }
/// Creates a new `FutureBool` with some initial value.
Creates a new `FutureBool` with some initial value.
Creates a new ` FutureBool ` with some initial value .
pub fn new(val: bool) -> Self {
        Self {
            notify_true: Arc::new(Notify::new()),
            notify_false: Arc::new(Notify::new()),
            inner: Arc::new(AtomicBool::new(val)),
        }
    }
pub fn new ( val : bool ) -> Self { Self { notify_true : Arc :: new ( Notify :: new ( ) ) , notify_false : Arc :: new ( Notify :: new ( ) ) , inner : Arc :: new ( AtomicBool :: new ( val ) ) , } }
Creates a new `FutureBool` with some initial value.
Creates a new ` FutureBool ` with some initial value .
val
bool
val
bool