Searched refs:finishedPromise (Results 1 – 2 of 2) sorted by relevance
7 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 });
77 const finishedPromise = promisify(finished); constant88 await finishedPromise(rs);147 const finishedPromise = promisify(finished); constant153 await finishedPromise(rs, { signal });161 const finishedPromise = promisify(finished); constant166 await finishedPromise(rs, { signal });