Struct tokio_js_set_interval::IntervalManager [−][src]
Expand description
INTERNAL Used to manage intervals created by macro set_interval
!
Helps to assign unique IDs to intervals and stop them.
Fields
counter: AtomicU64
Monotonic incrementing counter from 0 to max value used for interval IDs.
running_intervals: Mutex<HashSet<u64>>
Contains only the IDs of dispatched and not cleared intervals.
Auto Trait Implementations
impl RefUnwindSafe for IntervalManager
impl Send for IntervalManager
impl Sync for IntervalManager
impl Unpin for IntervalManager
impl UnwindSafe for IntervalManager