V8 API Reference Guide generated from the header files
Public Member Functions
v8::CodeEventHandler Class Referenceabstract

#include <v8-profiler.h>

Public Member Functions

 CodeEventHandler (Isolate *isolate)
 
virtual void Handle (CodeEvent *code_event)=0
 
void Enable ()
 
void Disable ()
 

Detailed Description

Interface to listen to code creation events.

Constructor & Destructor Documentation

◆ CodeEventHandler()

v8::CodeEventHandler::CodeEventHandler ( Isolate isolate)
explicit

Creates a new listener for the |isolate|. The isolate must be initialized. The listener object must be disposed after use by calling |Dispose| method. Multiple listeners can be created for the same isolate.


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