Lines Matching refs:rs
11 const rs = new ReadableStream({ constant
34 const reader = rs.getReader();
44 return readableStreamToArray(rs, reader).then(chunks => {
59 const rs = new ReadableStream({ constant
66 rs.cancel(passedReason);
75 const rs = new ReadableStream({ constant
85 const reader = rs.getReader();
87 return rs.cancel().then(() => {
104 const rs = new ReadableStream({ constant
111 return rs.cancel(cancelReason).then(() => {
119 const rs = new ReadableStream({ constant
125 return rs.cancel().then(v => {
136 const rs = new ReadableStream({ constant
143 return rs.cancel('test').then(() => {
156 const rs = new ReadableStream({ constant
163 return rs.cancel(cancelReason);
172 const rs = new ReadableStream({ constant
186 return rs.cancel().then(value => {
198 const rs = new ReadableStream({ constant
214 return rs.cancel().then(() => {
225 const rs = new ReadableStream({ constant
234 return Promise.all([rs.cancel(), rs.getReader().closed]);