Home
last modified time | relevance | path

Searched refs:markAsUntransferable (Results 1 – 5 of 5) sorted by relevance

/third_party/node/test/parallel/
Dtest-worker-message-transfer-port-mark-as-untransferable.js4 const { MessageChannel, markAsUntransferable } = require('worker_threads');
9 markAsUntransferable(ab);
23 markAsUntransferable(channel2.port1);
35 markAsUntransferable(value); // Has no visible effect.
/third_party/node/lib/
Dworker_threads.js21 markAsUntransferable,
28 markAsUntransferable, property
Dbuffer.js115 markAsUntransferable,
165 markAsUntransferable(allocPool);
/third_party/node/doc/api/
Dworker_threads.md117 ## `worker.markAsUntransferable(object)`
133 const { MessageChannel, markAsUntransferable } = require('worker_threads');
139 markAsUntransferable(pooledBuffer);
146 // `markAsUntransferable()`, this would print an empty Uint8Array.
555 An `ArrayBuffer` can be marked with [`markAsUntransferable()`][] to indicate
1105 [`markAsUntransferable()`]: #worker_threads_worker_markasuntransferable_object
/third_party/node/lib/internal/
Dbuffer.js1047 function markAsUntransferable(obj) { function
1056 markAsUntransferable, property