Enum v8::MicrotasksPolicy
source · #[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§
source§impl Clone for MicrotasksPolicy
impl Clone for MicrotasksPolicy
source§fn clone(&self) -> MicrotasksPolicy
fn clone(&self) -> MicrotasksPolicy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more