V8 API Reference Guide for node.js v9.10.0 - v9.11.1
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
Collaboration diagram for v8::NativeWeakMap:
Collaboration graph

Public Member Functions

void Set (Local< Value > key, Local< Value > value)
Local< ValueGet (Local< Value > key) const
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: