ps-promise 0.1.0-17

Promise-like owned futures
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod implementations;
mod methods;

use std::sync::Weak;

use crate::PromiseRejection;

use super::state::SharedState;

pub(super) struct SharedWaker<T, E>
where
    E: PromiseRejection,
{
    state: Weak<SharedState<T, E>>,
}