MCPcopy Create free account
hub / github.com/nodejs/nan / SaveToPersistent

Method SaveToPersistent

nan.h:2042–2046  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2040 }
2041
2042 inline void SaveToPersistent(
2043 const char *key, const v8::Local<v8::Value> &value) {
2044 HandleScope scope;
2045 Set(New(persistentHandle), New(key).ToLocalChecked(), value).FromJust();
2046 }
2047
2048 inline void SaveToPersistent(
2049 const v8::Local<v8::String> &key, const v8::Local<v8::Value> &value) {

Callers

nothing calls this directly

Calls 4

FromJustMethod · 0.80
ToLocalCheckedMethod · 0.80
SetFunction · 0.70
NewFunction · 0.70

Tested by

no test coverage detected