(stream, error)
| 920 | } |
| 921 | |
| 922 | function writableStreamDealWithRejection(stream, error) { |
| 923 | const { |
| 924 | state, |
| 925 | } = stream[kState]; |
| 926 | if (state === 'writable') { |
| 927 | writableStreamStartErroring(stream, error); |
| 928 | return; |
| 929 | } |
| 930 | |
| 931 | assert(state === 'erroring'); |
| 932 | writableStreamFinishErroring(stream); |
| 933 | } |
| 934 | |
| 935 | function writableStreamCloseQueuedOrInFlight(stream) { |
| 936 | if (stream[kState].closeRequest.promise === undefined && |
no test coverage detected
searching dependent graphs…