-
Notifications
You must be signed in to change notification settings - Fork 16
/
deno_stream_combine.deno.txt
25 lines (18 loc) · 1.74 KB
/
deno_stream_combine.deno.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
DENO_STREAM_COMBINE
VERSION ==> #Part of Deno
#Browser compatible
std/streams/
merge_readable_streams.ts #
mergeReadableStreams(RSTREAM...) #Merge multiple RSTREAMs into one.
->RSTREAM2 #They do not wait for each other, i.e. are in parallel
std/streams/
zip_readable_streams.ts #
zipReadableStreams(RSTREAM...) #Merge multiple RSTREAMs into one.
->RSTREAM2 #They wait for the previous one, one chunk at a time
#I.e. rounds of RSTREAM with one chunk each
std/streams/
early_zip_readable_streams.ts #
earlyZipReadableStreams
(RSTREAM...)->RSTREAM2 #Same as zipReadableStreams() but once one RSTREAM closes, the others are aborted