V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::MicrotaskQueue Class Reference

Public Member Functions

void EnqueueMicrotask (Microtask *microtask)
 
int RunMicrotasks (Isolate *isolate)
 
void IterateMicrotasks (RootVisitor *visitor)
 
intptr_t capacity () const
 
intptr_t size () const
 
intptr_t start () const
 
MicrotaskQueuenext () const
 
MicrotaskQueueprev () const
 

Static Public Member Functions

static void SetUpDefaultMicrotaskQueue (Isolate *isolate)
 
static std::unique_ptr< MicrotaskQueueNew (Isolate *isolate)
 
static ObjectCallEnqueueMicrotask (Isolate *isolate, intptr_t microtask_queue_pointer, Microtask *microtask)
 

Static Public Attributes

static const size_t kRingBufferOffset
 
static const size_t kCapacityOffset
 
static const size_t kSizeOffset = offsetof(MicrotaskQueue, size_)
 
static const size_t kStartOffset = offsetof(MicrotaskQueue, start_)
 
static const intptr_t kMinimumCapacity = 8
 

Detailed Description

Definition at line 21 of file microtask-queue.h.

Member Data Documentation

◆ kCapacityOffset

const size_t v8::internal::MicrotaskQueue::kCapacityOffset
static
Initial value:
=
offsetof(MicrotaskQueue, capacity_)

Definition at line 51 of file microtask-queue.h.

◆ kRingBufferOffset

const size_t v8::internal::MicrotaskQueue::kRingBufferOffset
static
Initial value:
=
offsetof(MicrotaskQueue, ring_buffer_)

Definition at line 50 of file microtask-queue.h.


The documentation for this class was generated from the following files: