Home
last modified time | relevance | path

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

/third_party/node/test/parallel/
Dtest-util-callbackify.js34 const cbAsyncFn = callbackify(asyncFn); constant
35 cbAsyncFn(common.mustSucceed((ret) => {
73 const cbAsyncFn = callbackify(asyncFn); constant
74 assert.strictEqual(cbAsyncFn.length, 1);
75 assert.strictEqual(cbAsyncFn.name, 'asyncFnCallbackified');
76 cbAsyncFn(common.mustCall((err, ret) => {
155 const cbAsyncFn = callbackify(asyncFn); constant
156 assert.strictEqual(cbAsyncFn.length, 2);
158 Object.getPrototypeOf(cbAsyncFn),
161 assert.strictEqual(Object.getPrototypeOf(cbAsyncFn), Function.prototype);
[all …]