v8  4.6.85(node5.12.0)
V8 is Google's open source JavaScript engine
IdleTask Class Referenceabstract

#include <v8-platform.h>

Public Member Functions

virtual ~IdleTask ()
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 29 of file v8-platform.h.

Constructor & Destructor Documentation

virtual ~IdleTask ( )

Definition at line 31 of file v8-platform.h.

Member Function Documentation

virtual void Run ( double  deadline_in_seconds)
pure virtual

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