Home
last modified time | relevance | path

Searched refs:kCustomPromisifiedSymbol (Results 1 – 4 of 4) sorted by relevance

/third_party/node/deps/npm/node_modules/util-promisify/
Dindex.js7 const kCustomPromisifiedSymbol = util.promisify && util.promisify.custom || Symbol('util.promisify.… constant
35 if (orig[kCustomPromisifiedSymbol]) {
36 const fn = orig[kCustomPromisifiedSymbol];
41 Object.defineProperty(fn, kCustomPromisifiedSymbol, {
83 Object.defineProperty(fn, kCustomPromisifiedSymbol, {
89 promisify.custom = kCustomPromisifiedSymbol;
/third_party/node/lib/internal/
Dutil.js312 const kCustomPromisifiedSymbol = SymbolFor('nodejs.util.promisify.custom'); constant
324 if (original[kCustomPromisifiedSymbol]) {
325 const fn = original[kCustomPromisifiedSymbol];
329 return ObjectDefineProperty(fn, kCustomPromisifiedSymbol, {
358 ObjectDefineProperty(fn, kCustomPromisifiedSymbol, {
367 promisify.custom = kCustomPromisifiedSymbol;
/third_party/node/test/parallel/
Dtest-util-promisify.js43 const kCustomPromisifiedSymbol = Symbol.for('nodejs.util.promisify.custom'); constant
44 fn[kCustomPromisifiedSymbol] = promisifiedFn;
46 assert.strictEqual(kCustomPromisifiedSymbol, promisify.custom);
/third_party/node/doc/api/
Dutil.md1107 const kCustomPromisifiedSymbol = Symbol.for('nodejs.util.promisify.custom');
1109 doSomething[kCustomPromisifiedSymbol] = (foo) => {