pub fn new(name: String, threshold: usize) -> Self {
        let inner = ActivatorInner::new(name, threshold);
        Self {
            inner: Rc::new(RefCell::new(inner)),
        }
    }
/// Construct a new [RcActivator] with the given name and threshold.
///
/// The threshold determines now many activations to ignore until scheduling the activation.
Construct a new [RcActivator] with the given name and threshold.
The threshold determines now many activations to ignore until scheduling the activation.
Construct a new [ RcActivator ] with the given name and threshold . The threshold determines now many activations to ignore until scheduling the activation .
pub fn new(name: String, threshold: usize) -> Self {
        let inner = ActivatorInner::new(name, threshold);
        Self {
            inner: Rc::new(RefCell::new(inner)),
        }
    }
pub fn new ( name : String , threshold : usize ) -> Self { let inner = ActivatorInner :: new ( name , threshold ) ; Self { inner : Rc :: new ( RefCell :: new ( inner ) ) , } }
Construct a new [RcActivator] with the given name and threshold.
Construct a new [ RcActivator ] with the given name and threshold .
name
String
threshold
usize
name
String
threshold
usize