V8 API Reference Guide for node.js v5.11.0 - v5.11.1
Public Types | Public Member Functions | List of all members
v8::ActivityControl Class Referenceabstract

#include <v8-profiler.h>

Public Types

enum  ControlOption { kContinue = 0, kAbort = 1 }
 

Public Member Functions

virtual ControlOption ReportProgressValue (int done, int total)=0
 

Detailed Description

An interface for reporting progress and controlling long-running activities.

Member Function Documentation

virtual ControlOption v8::ActivityControl::ReportProgressValue ( int  done,
int  total 
)
pure virtual

Notify about current progress. The activity can be stopped by returning kAbort as the callback result.


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