![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <v8-platform.h>
Public Member Functions | |
virtual | ~IdleTask ()=default |
virtual void | Run (double deadline_in_seconds)=0 |
An IdleTask represents a unit of work to be performed in idle time. The Run method is invoked with an argument that specifies the deadline in seconds returned by MonotonicallyIncreasingTime(). The idle task is expected to complete by this deadline.
Definition at line 62 of file v8-platform.h.
|
virtualdefault |
|
pure virtual |
Implemented in v8::DelayedTasksPlatform::DelayedIdleTask, and v8::internal::CancelableIdleTask.