v8  5.5.372(node7.10.1)
V8 is Google's open source JavaScript engine
IdleTask Class Referenceabstract

#include <v8-platform.h>

Public Member Functions

virtual ~IdleTask ()=default
 
virtual void Run (double deadline_in_seconds)=0
 

Detailed Description

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 33 of file v8-platform.h.

Constructor & Destructor Documentation

virtual ~IdleTask ( )
virtualdefault

Member Function Documentation

virtual void Run ( double  deadline_in_seconds)
pure virtual

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