v8
8.6.395 (node 15.0.1)
V8 is Google's open source JavaScript engine
|
#include <default-platform.h>
Public Member Functions | |
DefaultTaskRunner ()=default | |
DefaultTaskRunner (const DefaultTaskRunner &)=delete | |
DefaultTaskRunner & | operator= (const DefaultTaskRunner &)=delete |
void | PostTask (std::unique_ptr< cppgc::Task > task) override |
void | PostNonNestableTask (std::unique_ptr< cppgc::Task > task) override |
void | PostDelayedTask (std::unique_ptr< cppgc::Task > task, double) override |
void | PostNonNestableDelayedTask (std::unique_ptr< cppgc::Task > task, double) override |
void | PostIdleTask (std::unique_ptr< cppgc::IdleTask > task) override |
bool | IdleTasksEnabled () override |
bool | RunSingleTask () |
bool | RunSingleIdleTask (double duration_in_seconds) |
void | RunUntilIdle () |
Public Member Functions inherited from TaskRunner | |
virtual void | PostTask (std::unique_ptr< Task > task)=0 |
virtual void | PostNonNestableTask (std::unique_ptr< Task > task) |
virtual void | PostDelayedTask (std::unique_ptr< Task > task, double delay_in_seconds)=0 |
virtual void | PostNonNestableDelayedTask (std::unique_ptr< Task > task, double delay_in_seconds) |
virtual void | PostIdleTask (std::unique_ptr< IdleTask > task)=0 |
virtual bool | NonNestableTasksEnabled () const |
virtual bool | NonNestableDelayedTasksEnabled () const |
TaskRunner ()=default | |
virtual | ~TaskRunner ()=default |
TaskRunner (const TaskRunner &)=delete | |
TaskRunner & | operator= (const TaskRunner &)=delete |
Default task runner implementation. Keep posted tasks in a list that can be processed by calling RunSingleTask() or RunUntilIdle().
Definition at line 21 of file default-platform.h.
|
default |
|
delete |
|
inlineoverridevirtual |
Returns true if idle tasks are enabled for this TaskRunner.
Implements TaskRunner.
Definition at line 35 of file default-platform.h.
|
delete |
|
override |
|
override |
|
override |
|
override |
|
override |
bool RunSingleIdleTask | ( | double | duration_in_seconds | ) |
bool RunSingleTask | ( | ) |
void RunUntilIdle | ( | ) |