V8 API Reference Guide for node.js v4.8.3 - v4.8.5
Public Member Functions | Static Public Member Functions | List of all members
v8::NativeWeakMap Class Reference

#include <v8.h>

Inheritance diagram for v8::NativeWeakMap:
Inheritance graph
[legend]
Collaboration diagram for v8::NativeWeakMap:
Collaboration graph
[legend]

Public Member Functions

void Set (Local< Value > key, Local< Value > value)
 
Local< ValueGet (Local< Value > key)
 
bool Has (Local< Value > key)
 
bool Delete (Local< Value > key)
 

Static Public Member Functions

static Local< NativeWeakMapNew (Isolate *isolate)
 

Detailed Description

A map whose keys are referenced weakly. It is similar to JavaScript WeakMap but can be created without entering a v8::Context and hence shouldn't escape to JavaScript.


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