v8  6.2.414 (node 8.16.2)
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

◆ ~IdleTask()

virtual ~IdleTask ( )
virtualdefault

Member Function Documentation

◆ Run()

virtual void Run ( double  deadline_in_seconds)
pure virtual

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