Home
last modified time | relevance | path

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

/third_party/node/test/parallel/
Dtest-webstreams-finished.js7 const { finished: finishedPromise } = require('stream/promises');
67 finishedPromise(rs).then(common.mustSucceed());
79 finishedPromise(rs).then(common.mustNotCall()).catch(common.mustCall((err) => {
91 finishedPromise(rs).then(common.mustNotCall()).catch(common.mustCall((err) => {
196 finishedPromise(ws).then(common.mustSucceed(() => {
224 finishedPromise(ws).then(common.mustNotCall()).catch(common.mustCall((err) => {
304 await finishedPromise(rs, { signal });
318 await finishedPromise(rs, { signal });
Dtest-stream-finished.js77 const finishedPromise = promisify(finished); constant
88 await finishedPromise(rs);
147 const finishedPromise = promisify(finished); constant
153 await finishedPromise(rs, { signal });
161 const finishedPromise = promisify(finished); constant
166 await finishedPromise(rs, { signal });