Searched refs:kCustomPromisifiedSymbol (Results 1 – 4 of 4) sorted by relevance
7 const kCustomPromisifiedSymbol = util.promisify && util.promisify.custom || Symbol('util.promisify.… constant35 if (orig[kCustomPromisifiedSymbol]) {36 const fn = orig[kCustomPromisifiedSymbol];41 Object.defineProperty(fn, kCustomPromisifiedSymbol, {83 Object.defineProperty(fn, kCustomPromisifiedSymbol, {89 promisify.custom = kCustomPromisifiedSymbol;
312 const kCustomPromisifiedSymbol = SymbolFor('nodejs.util.promisify.custom'); constant324 if (original[kCustomPromisifiedSymbol]) {325 const fn = original[kCustomPromisifiedSymbol];329 return ObjectDefineProperty(fn, kCustomPromisifiedSymbol, {358 ObjectDefineProperty(fn, kCustomPromisifiedSymbol, {367 promisify.custom = kCustomPromisifiedSymbol;
43 const kCustomPromisifiedSymbol = Symbol.for('nodejs.util.promisify.custom'); constant44 fn[kCustomPromisifiedSymbol] = promisifiedFn;46 assert.strictEqual(kCustomPromisifiedSymbol, promisify.custom);
1107 const kCustomPromisifiedSymbol = Symbol.for('nodejs.util.promisify.custom');1109 doSomething[kCustomPromisifiedSymbol] = (foo) => {