Lines Matching refs:finished
8 finished,
24 finished(rs, common.mustSucceed());
37 finished(ws, common.mustSucceed());
60 finished(tr, common.mustSucceed(() => {
73 finished(rs, common.mustCall());
77 const finishedPromise = promisify(finished);
102 finished(rs, { signal }, common.mustCall((err) => {
113 finished(rs, { signal }, common.mustCall((err) => {
127 finished(rs, { signal }, common.mustCall((err) => {
142 finished(rs, { signal }, common.mustSucceed());
147 const finishedPromise = promisify(finished);
161 const finishedPromise = promisify(finished);
176 finished(rs, common.expectsError({
184 finished(rs, common.mustSucceed());
194 finished(rs, common.mustCall((err) => {
210 () => finished(rs, 'foo'),
217 () => finished(rs, 'foo', () => {}),
224 () => finished(rs, {}, 'foo'),
231 finished(rs, null, common.mustCall());
244 const removeListener = finished(ws, common.mustNotCall());
251 const removeListeners = finished(rs, common.mustNotCall());
265 finished(streamLike, () => {});
276 finished(writable, common.mustCall((err) => {
285 finished(readable, common.mustCall((err) => {
296 finished(w, common.mustCall((err) => {
305 // If already destroyed but finished is cancelled in same tick
310 const dispose = finished(s, common.mustNotCall());
319 finished(s, common.mustCall());
335 finished(s, common.mustCall(() => {
347 finished(s, common.mustCall());
361 finished(s, common.mustCall());
382 finished(w, common.mustCall());
395 finished(w, common.mustCall());
406 finished(r, common.mustCall());
415 finished(rs, common.mustCall());
422 d._writableState.finished = true;
423 finished(d, { readable: false, writable: true }, common.mustCall((err) => {
432 finished(r, common.mustCall((err) => {
450 finished(d, { readable: true, writable: false }, common.mustCall());
467 finished(d, { readable: true, writable: false }, common.mustCall());
477 finished(r, common.mustCall());
550 finished(p, common.mustNotCall());
557 finished(p, common.mustNotCall());
564 finished(res, common.mustCall(() => {
582 finished(req, common.mustCall(() => {
612 finished(w, common.mustCall(() => {
622 finished(w, common.mustCall((err) => {
625 finished(w, common.mustCall((err) => {
635 finished(w, common.mustCall((err) => {
638 finished(w, common.mustCall((err) => {
649 finished(s, common.mustNotCall());
655 finished(res, common.mustCall(function(err) {
663 finished(res, common.mustCall(() => {
680 finished(stream, { readable: false }, common.mustCall((err) => {