V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
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.

Definition at line 1096 of file v8-profiler.h.

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.

Definition at line 10219 of file api.cc.


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