MCPcopy Create free account
hub / github.com/nodejs/node / from

Method from

test/fixtures/wpt/resources/channel.sub.js:712–716  ·  view source on GitHub ↗

* Create a RemoteObject containing a handle to reference obj * * @param {Any} obj - The object to reference.

(obj)

Source from the content-addressed store, hash-verified

710 * @param {Any} obj - The object to reference.
711 */
712 static from(obj) {
713 let type = typeName(obj);
714 let id = remoteId(obj);
715 return new RemoteObject(type, id);
716 }
717
718 /**
719 * Return the local object referenced by the ``objectId`` of

Callers 15

test-ffi-calls.jsFile · 0.45
cStringFunction · 0.45
test-ffi-memory.jsFile · 0.45
eddsa.jsFile · 0.45
hmac.jsFile · 0.45
rsa_pkcs.jsFile · 0.45
kmac.jsFile · 0.45
rsa_pss.jsFile · 0.45
aes_gcm.jsFile · 0.45

Calls 2

typeNameFunction · 0.85
remoteIdFunction · 0.85

Tested by 1

testFunction · 0.36