Enum v8::MicrotasksPolicy [−][src]
#[repr(C)]
pub enum MicrotasksPolicy {
Explicit,
Auto,
}
Expand description
Policy for running microtasks:
- explicit: microtasks are invoked with the Isolate::PerformMicrotaskCheckpoint() method;
- auto: microtasks are invoked when the script call depth decrements to zero.
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MicrotasksPolicy
impl Send for MicrotasksPolicy
impl Sync for MicrotasksPolicy
impl Unpin for MicrotasksPolicy
impl UnwindSafe for MicrotasksPolicy
Blanket Implementations
Mutably borrows from an owned value. Read more