Searched refs:markAsUntransferable (Results 1 – 5 of 5) sorted by relevance
4 const { MessageChannel, markAsUntransferable } = require('worker_threads');9 markAsUntransferable(ab);23 markAsUntransferable(channel2.port1);35 markAsUntransferable(value); // Has no visible effect.
21 markAsUntransferable,28 markAsUntransferable, property
115 markAsUntransferable,165 markAsUntransferable(allocPool);
117 ## `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 indicate1105 [`markAsUntransferable()`]: #worker_threads_worker_markasuntransferable_object
1047 function markAsUntransferable(obj) { function1056 markAsUntransferable, property