v8
10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
|
#include <v8-profiler.h>
Public Types | |
enum | ControlOption { kContinue = 0 , kAbort = 1 } |
Public Member Functions | |
virtual | ~ActivityControl ()=default |
virtual ControlOption | ReportProgressValue (uint32_t done, uint32_t total)=0 |
An interface for reporting progress and controlling long-running activities.
Definition at line 607 of file v8-profiler.h.
enum ControlOption |
Enumerator | |
---|---|
kContinue | |
kAbort |
Definition at line 609 of file v8-profiler.h.
|
virtualdefault |
|
pure virtual |
Notify about current progress. The activity can be stopped by returning kAbort as the callback result.