Loading...
Searching...
No Matches
Public Member Functions | List of all members
v8::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.

Constructor & Destructor Documentation

◆ ~IdleTask()

virtual v8::IdleTask::~IdleTask ( )
virtualdefault

Member Function Documentation

◆ Run()

virtual void v8::IdleTask::Run ( double  deadline_in_seconds)
pure virtual

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