brass-runtime 1.15.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +409 -137
- package/dist/agent/cli/main.cjs +40 -35
- package/dist/agent/cli/main.js +9 -4
- package/dist/agent/cli/main.mjs +9 -4
- package/dist/agent/index.cjs +8 -4
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +7 -3
- package/dist/agent/index.mjs +7 -3
- package/dist/{chunk-PPUXIH5R.js → chunk-2WC63LJK.mjs} +11 -7
- package/dist/chunk-3RG5ZIWI.js +10 -0
- package/dist/chunk-45F7OKGT.cjs +104 -0
- package/dist/chunk-5YOQOXEQ.cjs +2491 -0
- package/dist/{chunk-STVLQ3XD.cjs → chunk-7HUOJA4W.cjs} +78 -74
- package/dist/{chunk-BMH5AV44.js → chunk-7LVI2GIN.js} +251 -370
- package/dist/chunk-7TL2LHQJ.js +2491 -0
- package/dist/chunk-7V4KY4RL.mjs +104 -0
- package/dist/chunk-7XOPAB5Q.js +2143 -0
- package/dist/chunk-CCKHV5BT.mjs +193 -0
- package/dist/{chunk-AR22SXML.js → chunk-CY33PGEX.mjs} +488 -421
- package/dist/chunk-DJQ7OMMB.cjs +144 -0
- package/dist/chunk-F5EUMJL7.mjs +2143 -0
- package/dist/chunk-FM4W4QPL.js +193 -0
- package/dist/{chunk-TO7IKXYT.js → chunk-G3XGCZDQ.js} +1 -1
- package/dist/{chunk-BDF4AMWX.mjs → chunk-G6IQOE4P.mjs} +251 -370
- package/dist/chunk-GOV47PPB.mjs +552 -0
- package/dist/chunk-H55LI6WY.js +93 -0
- package/dist/chunk-IJT6RRQ5.cjs +93 -0
- package/dist/{chunk-ELOOF35R.mjs → chunk-J3H54ZRV.mjs} +1 -1
- package/dist/chunk-JF4XXPZ5.cjs +552 -0
- package/dist/chunk-JNFRRJYH.cjs +2143 -0
- package/dist/chunk-JX3LZQJH.cjs +354 -0
- package/dist/chunk-K2T3DV26.mjs +93 -0
- package/dist/chunk-KCPT2D6G.js +552 -0
- package/dist/chunk-MWXMNYJS.cjs +1110 -0
- package/dist/{chunk-VEZNF5GZ.cjs → chunk-N6VHMOWB.cjs} +130 -126
- package/dist/{chunk-3QMOKAS5.js → chunk-NC5SDRYE.js} +9 -5
- package/dist/chunk-NOYZIMUJ.mjs +144 -0
- package/dist/{chunk-R3R2FVLG.cjs → chunk-NYL4D7SK.cjs} +5 -5
- package/dist/chunk-OBGZSXTJ.cjs +10 -0
- package/dist/{chunk-4NHES7VK.mjs → chunk-OOGJ73B6.js} +11 -7
- package/dist/chunk-PNVFW245.js +144 -0
- package/dist/chunk-PRWCB3QL.mjs +2491 -0
- package/dist/{chunk-JFPU5GQI.mjs → chunk-QY5FKYEQ.js} +488 -421
- package/dist/chunk-ROJC3NBJ.js +104 -0
- package/dist/chunk-SPUEME2B.cjs +343 -0
- package/dist/chunk-TDVMADDN.js +343 -0
- package/dist/chunk-TVN5I4U6.cjs +193 -0
- package/dist/chunk-U5KWK3PX.mjs +343 -0
- package/dist/chunk-VFIUZG7J.mjs +354 -0
- package/dist/{chunk-TGIFUAK4.cjs → chunk-WQ5QNU5R.cjs} +459 -578
- package/dist/chunk-XDZOO4L5.js +354 -0
- package/dist/chunk-Y6FXYEAI.mjs +10 -0
- package/dist/{chunk-K6M7MDZ4.mjs → chunk-ZGLD4TVZ.mjs} +9 -5
- package/dist/client-CtFmoDvM.d.ts +645 -0
- package/dist/core/index.cjs +72 -4
- package/dist/core/index.d.ts +92 -198
- package/dist/core/index.js +106 -38
- package/dist/core/index.mjs +106 -38
- package/dist/{effect-CMOQKX8y.d.ts → effect-CGNl5Rqp.d.ts} +107 -1
- package/dist/effectRunner-3ZHAD3LE.cjs +8 -0
- package/dist/effectRunner-A4CHJXJI.js +8 -0
- package/dist/effectRunner-OPUF6QRN.mjs +8 -0
- package/dist/http/index.cjs +2189 -1271
- package/dist/http/index.d.ts +830 -270
- package/dist/http/index.js +2008 -1090
- package/dist/http/index.mjs +2008 -1090
- package/dist/http/testing.cjs +159 -0
- package/dist/http/testing.d.ts +42 -0
- package/dist/http/testing.js +159 -0
- package/dist/http/testing.mjs +159 -0
- package/dist/index.cjs +246 -178
- package/dist/index.d.ts +9 -35
- package/dist/index.js +120 -52
- package/dist/index.mjs +120 -52
- package/dist/observability/index.cjs +677 -0
- package/dist/observability/index.d.ts +79 -0
- package/dist/observability/index.js +677 -0
- package/dist/observability/index.mjs +677 -0
- package/dist/schedule-Fque9Abz.d.ts +70 -0
- package/dist/schema/index.cjs +25 -0
- package/dist/schema/index.d.ts +177 -0
- package/dist/schema/index.js +25 -0
- package/dist/schema/index.mjs +25 -0
- package/dist/server-C8hDXA74.d.ts +674 -0
- package/dist/{stream-FQm9h4Mg.d.ts → stream-dvSs0QS5.d.ts} +1 -1
- package/dist/tracer-B5tRH9H7.d.ts +230 -0
- package/dist/tracing-Dt9S_6V8.d.ts +148 -0
- package/package.json +27 -1
- package/dist/chunk-BDYEENHT.js +0 -224
- package/dist/chunk-MS34J5LY.cjs +0 -224
- package/dist/chunk-UMAZLXAB.mjs +0 -224
- package/dist/chunk-XPZNXSVN.cjs +0 -1043
- package/dist/tracing-DNT9jEbr.d.ts +0 -106
package/dist/index.cjs
CHANGED
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
+
var _chunkMWXMNYJScjs = require('./chunk-MWXMNYJS.cjs');
|
|
41
42
|
|
|
42
43
|
|
|
43
44
|
|
|
@@ -48,7 +49,6 @@
|
|
|
48
49
|
|
|
49
50
|
|
|
50
51
|
|
|
51
|
-
var _chunkXPZNXSVNcjs = require('./chunk-XPZNXSVN.cjs');
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
@@ -69,21 +69,19 @@ var _chunkXPZNXSVNcjs = require('./chunk-XPZNXSVN.cjs');
|
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
|
|
72
|
-
var _chunkSTVLQ3XDcjs = require('./chunk-STVLQ3XD.cjs');
|
|
73
72
|
|
|
74
73
|
|
|
74
|
+
var _chunkJF4XXPZ5cjs = require('./chunk-JF4XXPZ5.cjs');
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
var _chunkMS34J5LYcjs = require('./chunk-MS34J5LY.cjs');
|
|
81
80
|
|
|
82
81
|
|
|
83
82
|
|
|
84
83
|
|
|
85
84
|
|
|
86
|
-
var _chunkR3R2FVLGcjs = require('./chunk-R3R2FVLG.cjs');
|
|
87
85
|
|
|
88
86
|
|
|
89
87
|
|
|
@@ -94,12 +92,14 @@ var _chunkR3R2FVLGcjs = require('./chunk-R3R2FVLG.cjs');
|
|
|
94
92
|
|
|
95
93
|
|
|
96
94
|
|
|
95
|
+
var _chunk7HUOJA4Wcjs = require('./chunk-7HUOJA4W.cjs');
|
|
97
96
|
|
|
98
97
|
|
|
99
98
|
|
|
100
99
|
|
|
101
100
|
|
|
102
101
|
|
|
102
|
+
var _chunk45F7OKGTcjs = require('./chunk-45F7OKGT.cjs');
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
|
|
@@ -107,15 +107,18 @@ var _chunkR3R2FVLGcjs = require('./chunk-R3R2FVLG.cjs');
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
+
var _chunkJX3LZQJHcjs = require('./chunk-JX3LZQJH.cjs');
|
|
110
111
|
|
|
111
112
|
|
|
112
113
|
|
|
113
114
|
|
|
114
115
|
|
|
116
|
+
var _chunkNYL4D7SKcjs = require('./chunk-NYL4D7SK.cjs');
|
|
115
117
|
|
|
116
118
|
|
|
117
119
|
|
|
118
120
|
|
|
121
|
+
var _chunkTVN5I4U6cjs = require('./chunk-TVN5I4U6.cjs');
|
|
119
122
|
|
|
120
123
|
|
|
121
124
|
|
|
@@ -163,18 +166,54 @@ var _chunkR3R2FVLGcjs = require('./chunk-R3R2FVLG.cjs');
|
|
|
163
166
|
|
|
164
167
|
|
|
165
168
|
|
|
166
|
-
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
var _chunkWQ5QNU5Rcjs = require('./chunk-WQ5QNU5R.cjs');
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
var _chunkDJQ7OMMBcjs = require('./chunk-DJQ7OMMB.cjs');
|
|
204
|
+
require('./chunk-SPUEME2B.cjs');
|
|
205
|
+
require('./chunk-OBGZSXTJ.cjs');
|
|
167
206
|
|
|
168
207
|
// src/core/stream/queue.ts
|
|
169
208
|
function bounded(capacity, strategy = "backpressure", options = {}) {
|
|
170
|
-
return
|
|
209
|
+
return _chunkDJQ7OMMBcjs.asyncSync.call(void 0, () => makeQueue(capacity, strategy, options));
|
|
171
210
|
}
|
|
172
211
|
function makeQueue(capacity, strategy, options) {
|
|
173
|
-
const items =
|
|
212
|
+
const items = _chunkWQ5QNU5Rcjs.makeBoundedRingBuffer.call(void 0, capacity, capacity, options);
|
|
174
213
|
let closed = false;
|
|
175
214
|
const QueueClosedErr = { _tag: "QueueClosed" };
|
|
176
|
-
const offerWaiters = new (0,
|
|
177
|
-
const takers = new (0,
|
|
215
|
+
const offerWaiters = new (0, _chunkMWXMNYJScjs.LinkedQueue)();
|
|
216
|
+
const takers = new (0, _chunkMWXMNYJScjs.LinkedQueue)();
|
|
178
217
|
const shutdown = () => {
|
|
179
218
|
if (closed) return;
|
|
180
219
|
closed = true;
|
|
@@ -191,7 +230,7 @@ function makeQueue(capacity, strategy, options) {
|
|
|
191
230
|
return {
|
|
192
231
|
size: () => items.length,
|
|
193
232
|
shutdown,
|
|
194
|
-
offer: (a) =>
|
|
233
|
+
offer: (a) => _chunkDJQ7OMMBcjs.asyncEffect.call(void 0, (_env, cb) => {
|
|
195
234
|
if (closed) {
|
|
196
235
|
cb({ _tag: "Success", value: false });
|
|
197
236
|
return;
|
|
@@ -226,7 +265,7 @@ function makeQueue(capacity, strategy, options) {
|
|
|
226
265
|
};
|
|
227
266
|
return canceler;
|
|
228
267
|
}),
|
|
229
|
-
take: () =>
|
|
268
|
+
take: () => _chunkDJQ7OMMBcjs.asyncEffect.call(void 0, (_env, cb) => {
|
|
230
269
|
if (items.length > 0) {
|
|
231
270
|
const a = items.shift();
|
|
232
271
|
cb({ _tag: "Success", value: a });
|
|
@@ -253,7 +292,7 @@ function makeQueue(capacity, strategy, options) {
|
|
|
253
292
|
};
|
|
254
293
|
return canceler;
|
|
255
294
|
}),
|
|
256
|
-
offerBatch: (values) =>
|
|
295
|
+
offerBatch: (values) => _chunkDJQ7OMMBcjs.asyncSync.call(void 0, () => {
|
|
257
296
|
const results = [];
|
|
258
297
|
for (let i = 0; i < values.length; i++) {
|
|
259
298
|
if (closed) {
|
|
@@ -284,7 +323,7 @@ function makeQueue(capacity, strategy, options) {
|
|
|
284
323
|
}
|
|
285
324
|
return results;
|
|
286
325
|
}),
|
|
287
|
-
takeBatch: (n) =>
|
|
326
|
+
takeBatch: (n) => _chunkDJQ7OMMBcjs.asyncSync.call(void 0, () => {
|
|
288
327
|
const results = [];
|
|
289
328
|
const count = Math.min(n, items.length + offerWaiters.length);
|
|
290
329
|
for (let i = 0; i < count; i++) {
|
|
@@ -318,34 +357,34 @@ function buffer(stream, capacity, strategy = "backpressure") {
|
|
|
318
357
|
let q = null;
|
|
319
358
|
let producer = null;
|
|
320
359
|
let upstream = stream;
|
|
321
|
-
const onUpstreamFailure = (opt) =>
|
|
360
|
+
const onUpstreamFailure = (opt) => _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0,
|
|
322
361
|
opt._tag === "None" ? SIGNAL_END : { _tag: "Fail", error: opt.value }
|
|
323
362
|
);
|
|
324
|
-
const onUpstreamSuccess = ([a, tail]) =>
|
|
363
|
+
const onUpstreamSuccess = ([a, tail]) => _chunkDJQ7OMMBcjs.asyncSync.call(void 0, () => {
|
|
325
364
|
upstream = tail;
|
|
326
365
|
return { _tag: "Elem", value: a };
|
|
327
366
|
});
|
|
328
|
-
const nextSignal = () =>
|
|
329
|
-
|
|
367
|
+
const nextSignal = () => _chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
368
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, upstream),
|
|
330
369
|
onUpstreamFailure,
|
|
331
370
|
onUpstreamSuccess
|
|
332
371
|
);
|
|
333
|
-
const start = (env) =>
|
|
372
|
+
const start = (env) => _chunkDJQ7OMMBcjs.asyncFlatMap.call(void 0, bounded(capacity, strategy), (_q) => {
|
|
334
373
|
q = _q;
|
|
335
374
|
let lastSig;
|
|
336
375
|
const afterOffer = () => {
|
|
337
376
|
if (lastSig._tag !== "Elem") {
|
|
338
|
-
return
|
|
377
|
+
return _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, void 0);
|
|
339
378
|
}
|
|
340
379
|
return loop();
|
|
341
380
|
};
|
|
342
381
|
const onSignal = (sig) => {
|
|
343
382
|
lastSig = sig;
|
|
344
|
-
return
|
|
383
|
+
return _chunkDJQ7OMMBcjs.asyncFlatMap.call(void 0, q.offer(sig), afterOffer);
|
|
345
384
|
};
|
|
346
|
-
const loop = () =>
|
|
347
|
-
producer =
|
|
348
|
-
return
|
|
385
|
+
const loop = () => _chunkDJQ7OMMBcjs.asyncFlatMap.call(void 0, nextSignal(), onSignal);
|
|
386
|
+
producer = _chunkWQ5QNU5Rcjs.fork.call(void 0, loop(), env);
|
|
387
|
+
return _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, void 0);
|
|
349
388
|
});
|
|
350
389
|
const pullDown = {
|
|
351
390
|
_tag: "Async",
|
|
@@ -353,7 +392,7 @@ function buffer(stream, capacity, strategy = "backpressure") {
|
|
|
353
392
|
const go = () => {
|
|
354
393
|
if (!started) {
|
|
355
394
|
started = true;
|
|
356
|
-
|
|
395
|
+
_chunkWQ5QNU5Rcjs.unsafeGetCurrentRuntime.call(void 0, ).fork(start(env)).join(() => {
|
|
357
396
|
pullFromQueue(env, cb);
|
|
358
397
|
});
|
|
359
398
|
return;
|
|
@@ -365,25 +404,25 @@ function buffer(stream, capacity, strategy = "backpressure") {
|
|
|
365
404
|
};
|
|
366
405
|
function pullFromQueue(env, cb) {
|
|
367
406
|
const takeEff = q.take();
|
|
368
|
-
|
|
407
|
+
_chunkWQ5QNU5Rcjs.unsafeGetCurrentRuntime.call(void 0, ).fork(takeEff).join((ex) => {
|
|
369
408
|
if (ex._tag !== "Success") return;
|
|
370
409
|
const sig = ex.value;
|
|
371
410
|
switch (sig._tag) {
|
|
372
411
|
case "Elem":
|
|
373
|
-
cb({ _tag: "Success", value: [sig.value,
|
|
412
|
+
cb({ _tag: "Success", value: [sig.value, _chunk7HUOJA4Wcjs.fromPull.call(void 0, pullDown)] });
|
|
374
413
|
return;
|
|
375
414
|
case "End":
|
|
376
415
|
_optionalChain([producer, 'optionalAccess', _ => _.interrupt, 'optionalCall', _2 => _2()]);
|
|
377
|
-
cb({ _tag: "Failure", cause: { _tag: "Fail", error:
|
|
416
|
+
cb({ _tag: "Failure", cause: { _tag: "Fail", error: _chunkDJQ7OMMBcjs.none } });
|
|
378
417
|
return;
|
|
379
418
|
case "Fail":
|
|
380
419
|
_optionalChain([producer, 'optionalAccess', _3 => _3.interrupt, 'optionalCall', _4 => _4()]);
|
|
381
|
-
cb({ _tag: "Failure", cause: { _tag: "Fail", error:
|
|
420
|
+
cb({ _tag: "Failure", cause: { _tag: "Fail", error: _chunkDJQ7OMMBcjs.some.call(void 0, sig.error) } });
|
|
382
421
|
return;
|
|
383
422
|
}
|
|
384
423
|
});
|
|
385
424
|
}
|
|
386
|
-
return
|
|
425
|
+
return _chunk7HUOJA4Wcjs.fromPull.call(void 0, pullDown);
|
|
387
426
|
}
|
|
388
427
|
|
|
389
428
|
// src/core/stream/hub.ts
|
|
@@ -392,45 +431,45 @@ function makeHub(capacity, strategy = "BackPressure") {
|
|
|
392
431
|
const queues = /* @__PURE__ */ new Set();
|
|
393
432
|
let closed = false;
|
|
394
433
|
const publish = (a) => {
|
|
395
|
-
if (closed) return
|
|
434
|
+
if (closed) return _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, false);
|
|
396
435
|
const size = queues.size;
|
|
397
|
-
if (size === 0) return
|
|
436
|
+
if (size === 0) return _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, true);
|
|
398
437
|
if (size === 1) {
|
|
399
438
|
const q = queues.values().next().value;
|
|
400
439
|
return q.offer(a);
|
|
401
440
|
}
|
|
402
|
-
let eff =
|
|
441
|
+
let eff = _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, true);
|
|
403
442
|
for (const q of queues) {
|
|
404
|
-
eff =
|
|
443
|
+
eff = _chunkDJQ7OMMBcjs.asyncFlatMap.call(void 0,
|
|
405
444
|
eff,
|
|
406
|
-
(okSoFar) =>
|
|
445
|
+
(okSoFar) => _chunkDJQ7OMMBcjs.asyncFlatMap.call(void 0, q.offer(a), (ok) => _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, okSoFar && ok))
|
|
407
446
|
);
|
|
408
447
|
}
|
|
409
448
|
return eff;
|
|
410
449
|
};
|
|
411
450
|
const publishAll = (as) => {
|
|
412
|
-
let eff =
|
|
451
|
+
let eff = _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, true);
|
|
413
452
|
const it = as[Symbol.iterator]();
|
|
414
453
|
while (true) {
|
|
415
454
|
const n = it.next();
|
|
416
455
|
if (n.done) break;
|
|
417
456
|
const a = n.value;
|
|
418
|
-
eff =
|
|
457
|
+
eff = _chunkDJQ7OMMBcjs.asyncFlatMap.call(void 0,
|
|
419
458
|
eff,
|
|
420
|
-
(okSoFar) =>
|
|
459
|
+
(okSoFar) => _chunkDJQ7OMMBcjs.asyncFlatMap.call(void 0, publish(a), (ok) => _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, okSoFar && ok))
|
|
421
460
|
);
|
|
422
461
|
}
|
|
423
462
|
return eff;
|
|
424
463
|
};
|
|
425
464
|
const subscribe = () => {
|
|
426
465
|
if (closed) {
|
|
427
|
-
return
|
|
466
|
+
return _chunkDJQ7OMMBcjs.asyncTotal.call(void 0, () => {
|
|
428
467
|
throw { _tag: "HubClosed" };
|
|
429
468
|
});
|
|
430
469
|
}
|
|
431
|
-
return
|
|
470
|
+
return _chunkDJQ7OMMBcjs.asyncFlatMap.call(void 0,
|
|
432
471
|
bounded(capacity, toQueueStrategy(strategy)),
|
|
433
|
-
(q) =>
|
|
472
|
+
(q) => _chunkDJQ7OMMBcjs.asyncSync.call(void 0, () => {
|
|
434
473
|
queues.add(q);
|
|
435
474
|
return {
|
|
436
475
|
...q,
|
|
@@ -443,7 +482,7 @@ function makeHub(capacity, strategy = "BackPressure") {
|
|
|
443
482
|
})
|
|
444
483
|
);
|
|
445
484
|
};
|
|
446
|
-
const shutdown = () =>
|
|
485
|
+
const shutdown = () => _chunkDJQ7OMMBcjs.asyncSync.call(void 0, () => {
|
|
447
486
|
if (closed) return;
|
|
448
487
|
closed = true;
|
|
449
488
|
for (const q of queues) q.shutdown();
|
|
@@ -458,23 +497,23 @@ function makeHub(capacity, strategy = "BackPressure") {
|
|
|
458
497
|
}
|
|
459
498
|
var broadcast = makeHub;
|
|
460
499
|
function broadcastToHub(stream, hub) {
|
|
461
|
-
return
|
|
500
|
+
return _chunk7HUOJA4Wcjs.foreachStream.call(void 0,
|
|
462
501
|
stream,
|
|
463
|
-
(a) =>
|
|
502
|
+
(a) => _chunkDJQ7OMMBcjs.asyncFlatMap.call(void 0, hub.publish(a), () => _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, void 0))
|
|
464
503
|
);
|
|
465
504
|
}
|
|
466
505
|
function fromHub(hub) {
|
|
467
|
-
return
|
|
468
|
-
|
|
469
|
-
const loop =
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
(a) =>
|
|
506
|
+
return _chunk7HUOJA4Wcjs.managedStream.call(void 0,
|
|
507
|
+
_chunkDJQ7OMMBcjs.asyncFlatMap.call(void 0, hub.subscribe(), (sub) => {
|
|
508
|
+
const loop = _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
509
|
+
_chunkDJQ7OMMBcjs.asyncFlatMap.call(void 0,
|
|
510
|
+
_chunkDJQ7OMMBcjs.asyncMapError.call(void 0, sub.take(), (_queueClosed) => _chunkDJQ7OMMBcjs.none),
|
|
511
|
+
(a) => _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [a, loop])
|
|
473
512
|
)
|
|
474
513
|
);
|
|
475
|
-
return
|
|
514
|
+
return _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, {
|
|
476
515
|
stream: loop,
|
|
477
|
-
release: (_exit) =>
|
|
516
|
+
release: (_exit) => _chunkDJQ7OMMBcjs.asyncSync.call(void 0, () => sub.unsubscribe())
|
|
478
517
|
});
|
|
479
518
|
})
|
|
480
519
|
);
|
|
@@ -484,7 +523,7 @@ function fromHub(hub) {
|
|
|
484
523
|
var cachedWasmChunkCtor;
|
|
485
524
|
function resolveWasmChunkBuffer() {
|
|
486
525
|
if (cachedWasmChunkCtor !== void 0) return cachedWasmChunkCtor;
|
|
487
|
-
const mod =
|
|
526
|
+
const mod = _chunkWQ5QNU5Rcjs.resolveWasmModule.call(void 0, );
|
|
488
527
|
cachedWasmChunkCtor = _nullishCoalesce(_optionalChain([mod, 'optionalAccess', _5 => _5.BrassWasmChunkBuffer]), () => ( null));
|
|
489
528
|
return cachedWasmChunkCtor;
|
|
490
529
|
}
|
|
@@ -584,19 +623,19 @@ function makeStreamChunker(chunkSize, options = {}) {
|
|
|
584
623
|
}
|
|
585
624
|
function chunks(input, chunkSize, options = {}) {
|
|
586
625
|
const size = Math.max(1, chunkSize | 0);
|
|
587
|
-
const loop = (cur) =>
|
|
588
|
-
const fillChunk = (cur, chunker) =>
|
|
589
|
-
|
|
626
|
+
const loop = (cur) => _chunk7HUOJA4Wcjs.fromPull.call(void 0, fillChunk(cur, makeStreamChunker(size, options)));
|
|
627
|
+
const fillChunk = (cur, chunker) => _chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
628
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, cur),
|
|
590
629
|
(opt) => {
|
|
591
630
|
if (opt._tag === "None" && !chunker.isEmpty()) {
|
|
592
|
-
return
|
|
631
|
+
return _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [chunker.takeChunk(), _chunk7HUOJA4Wcjs.fromPull.call(void 0, _chunkDJQ7OMMBcjs.asyncFail.call(void 0, _chunkDJQ7OMMBcjs.none))]);
|
|
593
632
|
}
|
|
594
|
-
return
|
|
633
|
+
return _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt);
|
|
595
634
|
},
|
|
596
635
|
([a, tail]) => {
|
|
597
636
|
chunker.push(a);
|
|
598
637
|
if (chunker.isFull()) {
|
|
599
|
-
return
|
|
638
|
+
return _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [chunker.takeChunk(), loop(tail)]);
|
|
600
639
|
}
|
|
601
640
|
return fillChunk(tail, chunker);
|
|
602
641
|
}
|
|
@@ -607,15 +646,15 @@ function mapChunks(input, chunkSize, f, options = {}) {
|
|
|
607
646
|
const pullOne = (pending, rest) => {
|
|
608
647
|
if (pending.length > 0) {
|
|
609
648
|
const [head, ...tail] = pending;
|
|
610
|
-
return
|
|
649
|
+
return _chunk7HUOJA4Wcjs.fromPull.call(void 0, _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [head, pullOne(tail, rest)]));
|
|
611
650
|
}
|
|
612
|
-
return
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
(opt) =>
|
|
651
|
+
return _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
652
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
653
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, rest),
|
|
654
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
616
655
|
([chunk, tail]) => {
|
|
617
656
|
const mapped = f(chunk);
|
|
618
|
-
return
|
|
657
|
+
return _chunk7HUOJA4Wcjs.uncons.call(void 0, pullOne(mapped, tail));
|
|
619
658
|
}
|
|
620
659
|
)
|
|
621
660
|
);
|
|
@@ -628,16 +667,16 @@ function mapChunksEffect(chunkSize, f, options = {}) {
|
|
|
628
667
|
const pullOne = (pending, rest) => {
|
|
629
668
|
if (pending.length > 0) {
|
|
630
669
|
const [head, ...tail] = pending;
|
|
631
|
-
return
|
|
670
|
+
return _chunk7HUOJA4Wcjs.fromPull.call(void 0, _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [head, pullOne(tail, rest)]));
|
|
632
671
|
}
|
|
633
|
-
return
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
(opt) =>
|
|
637
|
-
([chunk, tail]) =>
|
|
638
|
-
|
|
639
|
-
(opt) =>
|
|
640
|
-
(mapped) =>
|
|
672
|
+
return _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
673
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
674
|
+
_chunkDJQ7OMMBcjs.asyncMapError.call(void 0, _chunk7HUOJA4Wcjs.uncons.call(void 0, rest), (opt) => _chunk7HUOJA4Wcjs.widenOpt.call(void 0, opt)),
|
|
675
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
676
|
+
([chunk, tail]) => _chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
677
|
+
_chunkDJQ7OMMBcjs.asyncMapError.call(void 0, f(chunk), (e) => ({ _tag: "Some", value: e })),
|
|
678
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
679
|
+
(mapped) => _chunk7HUOJA4Wcjs.uncons.call(void 0, pullOne(mapped, tail))
|
|
641
680
|
)
|
|
642
681
|
)
|
|
643
682
|
);
|
|
@@ -871,20 +910,20 @@ function applyFused(stream, fused) {
|
|
|
871
910
|
return arrayToStream(outputArray);
|
|
872
911
|
}
|
|
873
912
|
const state = fused.initState();
|
|
874
|
-
const loop = (cur) =>
|
|
875
|
-
|
|
876
|
-
|
|
913
|
+
const loop = (cur) => _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
914
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
915
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, cur),
|
|
877
916
|
// End-of-stream or error: propagate
|
|
878
|
-
(opt) =>
|
|
917
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
879
918
|
([a, tail]) => {
|
|
880
919
|
const result = fused.step(a, state);
|
|
881
920
|
switch (result.tag) {
|
|
882
921
|
case "emit":
|
|
883
|
-
return
|
|
922
|
+
return _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [result.value, loop(tail)]);
|
|
884
923
|
case "skip":
|
|
885
|
-
return
|
|
924
|
+
return _chunk7HUOJA4Wcjs.uncons.call(void 0, loop(tail));
|
|
886
925
|
case "halt":
|
|
887
|
-
return
|
|
926
|
+
return _chunkDJQ7OMMBcjs.asyncFail.call(void 0, _chunkDJQ7OMMBcjs.none);
|
|
888
927
|
}
|
|
889
928
|
}
|
|
890
929
|
)
|
|
@@ -1070,10 +1109,10 @@ function identity() {
|
|
|
1070
1109
|
}
|
|
1071
1110
|
function mapP(f) {
|
|
1072
1111
|
const pipeline = ((input) => {
|
|
1073
|
-
const onError = (opt) =>
|
|
1074
|
-
const onSuccess = ([a, tail]) =>
|
|
1075
|
-
const loop = (cur) =>
|
|
1076
|
-
|
|
1112
|
+
const onError = (opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt);
|
|
1113
|
+
const onSuccess = ([a, tail]) => _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [f(a), loop(tail)]);
|
|
1114
|
+
const loop = (cur) => _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
1115
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0, _chunk7HUOJA4Wcjs.uncons.call(void 0, cur), onError, onSuccess)
|
|
1077
1116
|
);
|
|
1078
1117
|
return loop(input);
|
|
1079
1118
|
});
|
|
@@ -1082,10 +1121,10 @@ function mapP(f) {
|
|
|
1082
1121
|
}
|
|
1083
1122
|
function filterP(pred) {
|
|
1084
1123
|
const pipeline = ((input) => {
|
|
1085
|
-
const onError = (opt) =>
|
|
1086
|
-
const onSuccess = ([a, tail]) => pred(a) ?
|
|
1087
|
-
const next = (cur) =>
|
|
1088
|
-
const loop = (cur) =>
|
|
1124
|
+
const onError = (opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt);
|
|
1125
|
+
const onSuccess = ([a, tail]) => pred(a) ? _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [a, loop(tail)]) : next(tail);
|
|
1126
|
+
const next = (cur) => _chunkDJQ7OMMBcjs.asyncFold.call(void 0, _chunk7HUOJA4Wcjs.uncons.call(void 0, cur), onError, onSuccess);
|
|
1127
|
+
const loop = (cur) => _chunk7HUOJA4Wcjs.fromPull.call(void 0, next(cur));
|
|
1089
1128
|
return loop(input);
|
|
1090
1129
|
});
|
|
1091
1130
|
pipeline[PURE_PIPELINE_TAG] = { kind: "filter", pred };
|
|
@@ -1093,16 +1132,16 @@ function filterP(pred) {
|
|
|
1093
1132
|
}
|
|
1094
1133
|
function filterMapP(f) {
|
|
1095
1134
|
return ((input) => {
|
|
1096
|
-
const onError = (opt) =>
|
|
1097
|
-
const next = (cur) =>
|
|
1098
|
-
|
|
1135
|
+
const onError = (opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt);
|
|
1136
|
+
const next = (cur) => _chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1137
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, cur),
|
|
1099
1138
|
onError,
|
|
1100
1139
|
([a, tail]) => {
|
|
1101
1140
|
const ob = f(a);
|
|
1102
|
-
return ob._tag === "Some" ?
|
|
1141
|
+
return ob._tag === "Some" ? _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [ob.value, loop(tail)]) : next(tail);
|
|
1103
1142
|
}
|
|
1104
1143
|
);
|
|
1105
|
-
const loop = (cur) =>
|
|
1144
|
+
const loop = (cur) => _chunk7HUOJA4Wcjs.fromPull.call(void 0, next(cur));
|
|
1106
1145
|
return loop(input);
|
|
1107
1146
|
});
|
|
1108
1147
|
}
|
|
@@ -1110,12 +1149,12 @@ function takeP(n) {
|
|
|
1110
1149
|
const m = Math.max(0, n | 0);
|
|
1111
1150
|
const pipeline = ((input) => {
|
|
1112
1151
|
const loop = (cur, remaining) => {
|
|
1113
|
-
if (remaining <= 0) return
|
|
1114
|
-
return
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
(opt) =>
|
|
1118
|
-
([a, tail]) =>
|
|
1152
|
+
if (remaining <= 0) return _chunk7HUOJA4Wcjs.emptyStream.call(void 0, );
|
|
1153
|
+
return _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
1154
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1155
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, cur),
|
|
1156
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
1157
|
+
([a, tail]) => _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [a, loop(tail, remaining - 1)])
|
|
1119
1158
|
)
|
|
1120
1159
|
);
|
|
1121
1160
|
};
|
|
@@ -1129,11 +1168,11 @@ function dropP(n) {
|
|
|
1129
1168
|
const pipeline = ((input) => {
|
|
1130
1169
|
const skip = (cur, remaining) => {
|
|
1131
1170
|
if (remaining <= 0) return cur;
|
|
1132
|
-
return
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
(opt) =>
|
|
1136
|
-
([_a, tail]) =>
|
|
1171
|
+
return _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
1172
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1173
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, cur),
|
|
1174
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
1175
|
+
([_a, tail]) => _chunk7HUOJA4Wcjs.uncons.call(void 0, skip(tail, remaining - 1))
|
|
1137
1176
|
)
|
|
1138
1177
|
);
|
|
1139
1178
|
};
|
|
@@ -1144,19 +1183,19 @@ function dropP(n) {
|
|
|
1144
1183
|
}
|
|
1145
1184
|
function mapEffectP(f) {
|
|
1146
1185
|
return ((input) => {
|
|
1147
|
-
const raiseToOpt = (fa) =>
|
|
1148
|
-
const loop = (cur) =>
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
(opt) =>
|
|
1186
|
+
const raiseToOpt = (fa) => _chunkDJQ7OMMBcjs.asyncMapError.call(void 0, fa, (e) => _chunkDJQ7OMMBcjs.some.call(void 0, e));
|
|
1187
|
+
const loop = (cur) => _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
1188
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1189
|
+
_chunkDJQ7OMMBcjs.asyncMapError.call(void 0,
|
|
1190
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, cur),
|
|
1191
|
+
(opt) => _chunk7HUOJA4Wcjs.widenOpt.call(void 0, opt)
|
|
1153
1192
|
),
|
|
1154
|
-
(opt) =>
|
|
1155
|
-
([a, tail]) =>
|
|
1193
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
1194
|
+
([a, tail]) => _chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1156
1195
|
raiseToOpt(f(a)),
|
|
1157
1196
|
// Async<Rp, ...>
|
|
1158
|
-
(opt2) =>
|
|
1159
|
-
(b) =>
|
|
1197
|
+
(opt2) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt2),
|
|
1198
|
+
(b) => _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [b, loop(tail)])
|
|
1160
1199
|
)
|
|
1161
1200
|
)
|
|
1162
1201
|
);
|
|
@@ -1164,7 +1203,7 @@ function mapEffectP(f) {
|
|
|
1164
1203
|
});
|
|
1165
1204
|
}
|
|
1166
1205
|
function tapEffectP(f) {
|
|
1167
|
-
return mapEffectP((a) =>
|
|
1206
|
+
return mapEffectP((a) => _chunkDJQ7OMMBcjs.asyncFlatMap.call(void 0, f(a), () => _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, a)));
|
|
1168
1207
|
}
|
|
1169
1208
|
function chunksP(chunkSize, options = {}) {
|
|
1170
1209
|
return ((input) => chunks(input, chunkSize, options));
|
|
@@ -1179,23 +1218,23 @@ function groupedP(n) {
|
|
|
1179
1218
|
const size = Math.max(1, n | 0);
|
|
1180
1219
|
return ((input) => {
|
|
1181
1220
|
const gather = (cur, remaining, acc) => {
|
|
1182
|
-
if (remaining <= 0) return
|
|
1183
|
-
return
|
|
1184
|
-
|
|
1221
|
+
if (remaining <= 0) return _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, { chunk: acc, rest: cur });
|
|
1222
|
+
return _chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1223
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, cur),
|
|
1185
1224
|
(opt) => {
|
|
1186
|
-
if (opt._tag === "None") return
|
|
1187
|
-
return
|
|
1225
|
+
if (opt._tag === "None") return _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, { chunk: acc, rest: _chunk7HUOJA4Wcjs.emptyStream.call(void 0, ) });
|
|
1226
|
+
return _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt);
|
|
1188
1227
|
},
|
|
1189
1228
|
([a, tail]) => gather(tail, remaining - 1, [...acc, a])
|
|
1190
1229
|
);
|
|
1191
1230
|
};
|
|
1192
|
-
const loop = (cur) =>
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
(opt) =>
|
|
1196
|
-
([a, tail]) =>
|
|
1231
|
+
const loop = (cur) => _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
1232
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1233
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, cur),
|
|
1234
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
1235
|
+
([a, tail]) => _chunkDJQ7OMMBcjs.asyncFlatMap.call(void 0,
|
|
1197
1236
|
gather(tail, size - 1, [a]),
|
|
1198
|
-
({ chunk, rest }) =>
|
|
1237
|
+
({ chunk, rest }) => _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [chunk, loop(rest)])
|
|
1199
1238
|
)
|
|
1200
1239
|
)
|
|
1201
1240
|
);
|
|
@@ -1206,25 +1245,25 @@ function groupedP(n) {
|
|
|
1206
1245
|
// src/core/stream/operators.ts
|
|
1207
1246
|
function throttle(stream, intervalMs) {
|
|
1208
1247
|
let lastEmitTime = 0;
|
|
1209
|
-
const loop = (cur) =>
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
(opt) =>
|
|
1248
|
+
const loop = (cur) => _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
1249
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1250
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, cur),
|
|
1251
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
1213
1252
|
([a, tail]) => {
|
|
1214
1253
|
const now = Date.now();
|
|
1215
1254
|
if (now - lastEmitTime >= intervalMs) {
|
|
1216
1255
|
lastEmitTime = now;
|
|
1217
|
-
return
|
|
1256
|
+
return _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [a, loop(tail)]);
|
|
1218
1257
|
}
|
|
1219
|
-
return
|
|
1258
|
+
return _chunk7HUOJA4Wcjs.uncons.call(void 0, loop(tail));
|
|
1220
1259
|
}
|
|
1221
1260
|
)
|
|
1222
1261
|
);
|
|
1223
1262
|
return loop(stream);
|
|
1224
1263
|
}
|
|
1225
1264
|
function debounce(stream, delayMs) {
|
|
1226
|
-
return
|
|
1227
|
-
|
|
1265
|
+
return _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
1266
|
+
_chunkDJQ7OMMBcjs.asyncEffect.call(void 0, (_env, cb) => {
|
|
1228
1267
|
let lastValue;
|
|
1229
1268
|
let hasValue = false;
|
|
1230
1269
|
let timerId;
|
|
@@ -1232,15 +1271,15 @@ function debounce(stream, delayMs) {
|
|
|
1232
1271
|
let tail = stream;
|
|
1233
1272
|
const pullNext = () => {
|
|
1234
1273
|
if (done) return;
|
|
1235
|
-
const pull =
|
|
1236
|
-
|
|
1274
|
+
const pull = _chunk7HUOJA4Wcjs.uncons.call(void 0, tail);
|
|
1275
|
+
_chunkWQ5QNU5Rcjs.unsafeRunAsync.call(void 0, pull, _env, (exit) => {
|
|
1237
1276
|
if (done) return;
|
|
1238
1277
|
if (exit._tag === "Failure") {
|
|
1239
1278
|
if (hasValue) {
|
|
1240
1279
|
const value = lastValue;
|
|
1241
1280
|
hasValue = false;
|
|
1242
1281
|
clearTimeout(timerId);
|
|
1243
|
-
cb({ _tag: "Success", value: [value,
|
|
1282
|
+
cb({ _tag: "Success", value: [value, _chunk7HUOJA4Wcjs.emptyStream.call(void 0, )] });
|
|
1244
1283
|
} else {
|
|
1245
1284
|
cb(exit);
|
|
1246
1285
|
}
|
|
@@ -1270,73 +1309,73 @@ function debounce(stream, delayMs) {
|
|
|
1270
1309
|
);
|
|
1271
1310
|
}
|
|
1272
1311
|
function zip2(left, right) {
|
|
1273
|
-
const loop = (l, r) =>
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
(opt) =>
|
|
1277
|
-
([a, lTail]) =>
|
|
1278
|
-
|
|
1279
|
-
(opt) =>
|
|
1280
|
-
([b, rTail]) =>
|
|
1312
|
+
const loop = (l, r) => _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
1313
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1314
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, l),
|
|
1315
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
1316
|
+
([a, lTail]) => _chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1317
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, r),
|
|
1318
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
1319
|
+
([b, rTail]) => _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [[a, b], loop(lTail, rTail)])
|
|
1281
1320
|
)
|
|
1282
1321
|
)
|
|
1283
1322
|
);
|
|
1284
1323
|
return loop(left, right);
|
|
1285
1324
|
}
|
|
1286
1325
|
function zipWith(left, right, f) {
|
|
1287
|
-
const loop = (l, r) =>
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
(opt) =>
|
|
1291
|
-
([a, lTail]) =>
|
|
1292
|
-
|
|
1293
|
-
(opt) =>
|
|
1294
|
-
([b, rTail]) =>
|
|
1326
|
+
const loop = (l, r) => _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
1327
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1328
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, l),
|
|
1329
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
1330
|
+
([a, lTail]) => _chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1331
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, r),
|
|
1332
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
1333
|
+
([b, rTail]) => _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [f(a, b), loop(lTail, rTail)])
|
|
1295
1334
|
)
|
|
1296
1335
|
)
|
|
1297
1336
|
);
|
|
1298
1337
|
return loop(left, right);
|
|
1299
1338
|
}
|
|
1300
1339
|
function scan(stream, initial, f) {
|
|
1301
|
-
const loop = (cur, acc) =>
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
(opt) =>
|
|
1340
|
+
const loop = (cur, acc) => _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
1341
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1342
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, cur),
|
|
1343
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
1305
1344
|
([a, tail]) => {
|
|
1306
1345
|
const next = f(acc, a);
|
|
1307
|
-
return
|
|
1346
|
+
return _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [next, loop(tail, next)]);
|
|
1308
1347
|
}
|
|
1309
1348
|
)
|
|
1310
1349
|
);
|
|
1311
|
-
return
|
|
1312
|
-
|
|
1350
|
+
return _chunk7HUOJA4Wcjs.concatStream.call(void 0,
|
|
1351
|
+
_chunk7HUOJA4Wcjs.emitStream.call(void 0, _chunkDJQ7OMMBcjs.succeed.call(void 0, initial)),
|
|
1313
1352
|
loop(stream, initial)
|
|
1314
1353
|
);
|
|
1315
1354
|
}
|
|
1316
1355
|
function interleave(left, right) {
|
|
1317
|
-
const loop = (l, r, pickLeft) =>
|
|
1318
|
-
|
|
1319
|
-
|
|
1356
|
+
const loop = (l, r, pickLeft) => _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
1357
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1358
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, pickLeft ? l : r),
|
|
1320
1359
|
// Current stream ended — drain the other
|
|
1321
|
-
(_opt) =>
|
|
1360
|
+
(_opt) => _chunk7HUOJA4Wcjs.uncons.call(void 0, pickLeft ? r : l),
|
|
1322
1361
|
([a, tail]) => {
|
|
1323
1362
|
const nextL = pickLeft ? tail : l;
|
|
1324
1363
|
const nextR = pickLeft ? r : tail;
|
|
1325
|
-
return
|
|
1364
|
+
return _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [a, loop(nextL, nextR, !pickLeft)]);
|
|
1326
1365
|
}
|
|
1327
1366
|
)
|
|
1328
1367
|
);
|
|
1329
1368
|
return loop(left, right, true);
|
|
1330
1369
|
}
|
|
1331
1370
|
function take2(stream, n) {
|
|
1332
|
-
if (n <= 0) return
|
|
1371
|
+
if (n <= 0) return _chunk7HUOJA4Wcjs.emptyStream.call(void 0, );
|
|
1333
1372
|
const loop = (cur, remaining) => {
|
|
1334
|
-
if (remaining <= 0) return
|
|
1335
|
-
return
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
(opt) =>
|
|
1339
|
-
([a, tail]) =>
|
|
1373
|
+
if (remaining <= 0) return _chunk7HUOJA4Wcjs.emptyStream.call(void 0, );
|
|
1374
|
+
return _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
1375
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1376
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, cur),
|
|
1377
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
1378
|
+
([a, tail]) => _chunkDJQ7OMMBcjs.asyncSucceed.call(void 0, [a, loop(tail, remaining - 1)])
|
|
1340
1379
|
)
|
|
1341
1380
|
);
|
|
1342
1381
|
};
|
|
@@ -1346,11 +1385,11 @@ function drop(stream, n) {
|
|
|
1346
1385
|
if (n <= 0) return stream;
|
|
1347
1386
|
const skip = (cur, remaining) => {
|
|
1348
1387
|
if (remaining <= 0) return cur;
|
|
1349
|
-
return
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
(opt) =>
|
|
1353
|
-
([_a, tail]) =>
|
|
1388
|
+
return _chunk7HUOJA4Wcjs.fromPull.call(void 0,
|
|
1389
|
+
_chunkDJQ7OMMBcjs.asyncFold.call(void 0,
|
|
1390
|
+
_chunk7HUOJA4Wcjs.uncons.call(void 0, cur),
|
|
1391
|
+
(opt) => _chunkDJQ7OMMBcjs.asyncFail.call(void 0, opt),
|
|
1392
|
+
([_a, tail]) => _chunk7HUOJA4Wcjs.uncons.call(void 0, skip(tail, remaining - 1))
|
|
1354
1393
|
)
|
|
1355
1394
|
);
|
|
1356
1395
|
};
|
|
@@ -1569,4 +1608,33 @@ function selectedEngineStats(requested, engine, data) {
|
|
|
1569
1608
|
|
|
1570
1609
|
|
|
1571
1610
|
|
|
1572
|
-
|
|
1611
|
+
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+
|
|
1620
|
+
|
|
1621
|
+
|
|
1622
|
+
|
|
1623
|
+
|
|
1624
|
+
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
|
|
1640
|
+
exports.ABI_VERSION = _chunkWQ5QNU5Rcjs.ABI_VERSION; exports.Async = _chunkDJQ7OMMBcjs.Async; exports.Cause = _chunkDJQ7OMMBcjs.Cause; exports.DefaultHostExecutor = _chunkWQ5QNU5Rcjs.DefaultHostExecutor; exports.EVENT_WORDS = _chunkWQ5QNU5Rcjs.EVENT_WORDS; exports.EngineFiberHandle = _chunkWQ5QNU5Rcjs.EngineFiberHandle; exports.EventBus = _chunkJX3LZQJHcjs.EventBus; exports.EventKindCode = _chunkWQ5QNU5Rcjs.EventKindCode; exports.Exit = _chunkDJQ7OMMBcjs.Exit; exports.HostRegistry = _chunkWQ5QNU5Rcjs.HostRegistry; exports.InMemoryTracer = _chunkJX3LZQJHcjs.InMemoryTracer; exports.JsFiberEngine = _chunkWQ5QNU5Rcjs.JsFiberEngine; exports.NONE_U32 = _chunkWQ5QNU5Rcjs.NONE_U32; exports.NoopHooks = _chunkWQ5QNU5Rcjs.NoopHooks; exports.OpcodeTagCode = _chunkWQ5QNU5Rcjs.OpcodeTagCode; exports.PURE_PIPELINE_TAG = PURE_PIPELINE_TAG; exports.ProgramBuilder = _chunkWQ5QNU5Rcjs.ProgramBuilder; exports.PushStatus = _chunkWQ5QNU5Rcjs.PushStatus; exports.Resource = _chunkJF4XXPZ5cjs.Resource; exports.RingBuffer = _chunkWQ5QNU5Rcjs.RingBuffer; exports.Runtime = _chunkWQ5QNU5Rcjs.Runtime; exports.RuntimeFiber = _chunkWQ5QNU5Rcjs.RuntimeFiber; exports.RuntimeRegistry = _chunkMWXMNYJScjs.RuntimeRegistry; exports.Scheduler = _chunkWQ5QNU5Rcjs.Scheduler; exports.Scope = _chunkTVN5I4U6cjs.Scope; exports.Supervisor = _chunkMWXMNYJScjs.Supervisor; exports.WasmFiberEngine = _chunkWQ5QNU5Rcjs.WasmFiberEngine; exports.WasmFiberRegistryBridge = _chunkWQ5QNU5Rcjs.WasmFiberRegistryBridge; exports.WasmPackFiberBridge = _chunkWQ5QNU5Rcjs.WasmPackFiberBridge; exports.abortablePromiseStats = _chunkWQ5QNU5Rcjs.abortablePromiseStats; exports.acquireRelease = _chunkDJQ7OMMBcjs.acquireRelease; exports.andThen = andThen2; exports.andThenSchedule = _chunkJF4XXPZ5cjs.andThen; exports.applyFused = applyFused; exports.assertCompletesWithin = _chunkMWXMNYJScjs.assertCompletesWithin; exports.assertFails = _chunkMWXMNYJScjs.assertFails; exports.assertFailsWith = _chunkMWXMNYJScjs.assertFailsWith; exports.assertNever = _chunk7HUOJA4Wcjs.assertNever; exports.assertSucceeds = _chunkMWXMNYJScjs.assertSucceeds; exports.async = _chunkDJQ7OMMBcjs.asyncEffect; exports.asyncCatchAll = _chunkDJQ7OMMBcjs.asyncCatchAll; exports.asyncFail = _chunkDJQ7OMMBcjs.asyncFail; exports.asyncFlatMap = _chunkDJQ7OMMBcjs.asyncFlatMap; exports.asyncFold = _chunkDJQ7OMMBcjs.asyncFold; exports.asyncInterruptible = _chunkDJQ7OMMBcjs.asyncInterruptible; exports.asyncMap = _chunkDJQ7OMMBcjs.asyncMap; exports.asyncMapError = _chunkDJQ7OMMBcjs.asyncMapError; exports.asyncSucceed = _chunkDJQ7OMMBcjs.asyncSucceed; exports.asyncSync = _chunkDJQ7OMMBcjs.asyncSync; exports.asyncTotal = _chunkDJQ7OMMBcjs.asyncTotal; exports.bounded = bounded; exports.bracket = _chunkJF4XXPZ5cjs.bracket; exports.broadcast = broadcast; exports.broadcastToHub = broadcastToHub; exports.buffer = buffer; exports.bufferP = bufferP; exports.catchAll = _chunkDJQ7OMMBcjs.catchAll; exports.catchTag = _chunkMWXMNYJScjs.catchTag; exports.catchTags = _chunkMWXMNYJScjs.catchTags; exports.chunks = chunks; exports.chunksP = chunksP; exports.collectAllPar = _chunkNYL4D7SKcjs.collectAllPar; exports.collectStream = _chunk7HUOJA4Wcjs.collectStream; exports.compose = compose2; exports.composeLayer = _chunkMWXMNYJScjs.compose; exports.concatStream = _chunk7HUOJA4Wcjs.concatStream; exports.consoleJsonLogger = _chunkMWXMNYJScjs.consoleJsonLogger; exports.contramapSchedule = _chunkJF4XXPZ5cjs.contramap; exports.ctxExtend = _chunkWQ5QNU5Rcjs.ctxExtend; exports.ctxToObject = _chunkWQ5QNU5Rcjs.ctxToObject; exports.debounce = debounce; exports.decodeEvent = _chunkWQ5QNU5Rcjs.decodeEvent; exports.decodeEventBatch = _chunkWQ5QNU5Rcjs.decodeEventBatch; exports.defaultTracer = _chunkMWXMNYJScjs.defaultTracer; exports.delayedEffect = _chunkMWXMNYJScjs.delayedEffect; exports.derivedRef = _chunkMWXMNYJScjs.derivedRef; exports.deserializeFusedPipeline = deserializeFusedPipeline; exports.dropP = dropP; exports.dropStream = drop; exports.dumpAllFibers = _chunkMWXMNYJScjs.dumpAllFibers; exports.elapsed = _chunkJF4XXPZ5cjs.elapsed; exports.emitStream = _chunk7HUOJA4Wcjs.emitStream; exports.emptyContext = _chunkWQ5QNU5Rcjs.emptyContext; exports.emptyStream = _chunk7HUOJA4Wcjs.emptyStream; exports.encodeOpcodeNodes = _chunkWQ5QNU5Rcjs.encodeOpcodeNodes; exports.encodeOpcodeProgram = _chunkWQ5QNU5Rcjs.encodeOpcodeProgram; exports.end = _chunkDJQ7OMMBcjs.end; exports.engineStats = engineStats; exports.ensuring = _chunkJF4XXPZ5cjs.ensuring; exports.exponential = _chunkJF4XXPZ5cjs.exponential; exports.fail = _chunkDJQ7OMMBcjs.fail; exports.fibonacci = _chunkJF4XXPZ5cjs.fibonacci; exports.filterMapP = filterMapP; exports.filterP = filterP; exports.fixed = _chunkJF4XXPZ5cjs.fixed; exports.flakyEffect = _chunkMWXMNYJScjs.flakyEffect; exports.flatMap = _chunkDJQ7OMMBcjs.flatMap; exports.flattenStream = _chunk7HUOJA4Wcjs.flattenStream; exports.foreachStream = _chunk7HUOJA4Wcjs.foreachStream; exports.fork = _chunkWQ5QNU5Rcjs.fork; exports.fromArray = _chunk7HUOJA4Wcjs.fromArray; exports.fromHub = fromHub; exports.fromPromiseAbortable = _chunkWQ5QNU5Rcjs.fromPromiseAbortable; exports.fromPull = _chunk7HUOJA4Wcjs.fromPull; exports.fuse = fuse; exports.getBenchmarkBudget = _chunkWQ5QNU5Rcjs.getBenchmarkBudget; exports.getCurrentFiber = _chunkWQ5QNU5Rcjs.getCurrentFiber; exports.getStats = getStats; exports.globalScheduler = _chunkWQ5QNU5Rcjs.globalScheduler; exports.gracefulShutdown = _chunkMWXMNYJScjs.gracefulShutdown; exports.groupedP = groupedP; exports.identity = identity; exports.inferCallerLaneFromStack = _chunkWQ5QNU5Rcjs.inferCallerLaneFromStack; exports.initState = initState; exports.interleave = interleave; exports.intersect = _chunkJF4XXPZ5cjs.intersect; exports.isFusionEnabled = isFusionEnabled; exports.isFusionVerbose = isFusionVerbose; exports.jitter = _chunkJF4XXPZ5cjs.jitter; exports.jittered = _chunkJF4XXPZ5cjs.jittered; exports.jitteredSchedule = _chunkJF4XXPZ5cjs.jitteredSchedule; exports.joinSupervised = _chunkMWXMNYJScjs.joinSupervised; exports.laneTag = _chunkWQ5QNU5Rcjs.laneTag; exports.layer = _chunkMWXMNYJScjs.layer; exports.layerFail = _chunkMWXMNYJScjs.layerFail; exports.layerFrom = _chunkMWXMNYJScjs.layerFrom; exports.layerSucceed = _chunkMWXMNYJScjs.layerSucceed; exports.linkAbortController = _chunkMWXMNYJScjs.linkAbortController; exports.makeBoundedRingBuffer = _chunkWQ5QNU5Rcjs.makeBoundedRingBuffer; exports.makeCancelToken = _chunkMWXMNYJScjs.makeCancelToken; exports.makeCircuitBreaker = _chunkJF4XXPZ5cjs.makeCircuitBreaker; exports.makeFiberReadyQueue = _chunkWQ5QNU5Rcjs.makeFiberReadyQueue; exports.makeHub = makeHub; exports.makeMetrics = _chunkJX3LZQJHcjs.makeMetrics; exports.makeRef = _chunkMWXMNYJScjs.makeRef; exports.makeResource = _chunkJF4XXPZ5cjs.makeResource; exports.makeRuntimeEventRecord = _chunkJX3LZQJHcjs.makeRuntimeEventRecord; exports.makeSemaphore = _chunkMWXMNYJScjs.makeSemaphore; exports.makeStreamChunker = makeStreamChunker; exports.makeSupervisor = _chunkMWXMNYJScjs.makeSupervisor; exports.makeTestRuntime = _chunkMWXMNYJScjs.makeTestRuntime; exports.makeTracer = _chunkMWXMNYJScjs.makeTracer; exports.makeWorkerPool = _chunkMWXMNYJScjs.makeWorkerPool; exports.managed = _chunkJF4XXPZ5cjs.managed; exports.managedAll = _chunkJF4XXPZ5cjs.managedAll; exports.managedStream = _chunk7HUOJA4Wcjs.managedStream; exports.map = _chunkDJQ7OMMBcjs.map; exports.mapAsync = _chunkDJQ7OMMBcjs.mapAsync; exports.mapChunks = mapChunks; exports.mapChunksEffect = mapChunksEffect; exports.mapChunksEffectP = mapChunksEffectP; exports.mapEffectP = mapEffectP; exports.mapError = _chunkDJQ7OMMBcjs.mapError; exports.mapErrorTyped = _chunkMWXMNYJScjs.mapError; exports.mapLayer = _chunkMWXMNYJScjs.mapLayer; exports.mapP = mapP; exports.mapSchedule = _chunkJF4XXPZ5cjs.map; exports.mapStream = _chunk7HUOJA4Wcjs.mapStream; exports.mapTryAsync = _chunkDJQ7OMMBcjs.mapTryAsync; exports.merge = _chunk7HUOJA4Wcjs.merge; exports.mergeLayer = _chunkMWXMNYJScjs.merge; exports.mergeStream = _chunk7HUOJA4Wcjs.mergeStream; exports.neverEffect = _chunkMWXMNYJScjs.neverEffect; exports.none = _chunkDJQ7OMMBcjs.none; exports.orElse = _chunkMWXMNYJScjs.orElse; exports.orElseOptional = _chunkDJQ7OMMBcjs.orElseOptional; exports.provideLayer = _chunkMWXMNYJScjs.provideLayer; exports.race = _chunkNYL4D7SKcjs.race; exports.raceWith = _chunkNYL4D7SKcjs.raceWith; exports.rangeStream = _chunk7HUOJA4Wcjs.rangeStream; exports.recurs = _chunkJF4XXPZ5cjs.recurs; exports.registerShutdownHooks = _chunkMWXMNYJScjs.registerShutdownHooks; exports.repeatWithSchedule = _chunkJF4XXPZ5cjs.repeatWithSchedule; exports.resetAbortablePromiseStats = _chunkWQ5QNU5Rcjs.resetAbortablePromiseStats; exports.resource = _chunkJF4XXPZ5cjs.resource; exports.resourceAll = _chunkJF4XXPZ5cjs.resourceAll; exports.resourceFromManaged = _chunkJF4XXPZ5cjs.resourceFromManaged; exports.resourceSucceed = _chunkJF4XXPZ5cjs.resourceSucceed; exports.retry = _chunk45F7OKGTcjs.retry; exports.retryN = _chunk45F7OKGTcjs.retryN; exports.retryWithBackoff = _chunk45F7OKGTcjs.retryWithBackoff; exports.retryWithSchedule = _chunkJF4XXPZ5cjs.retryWithSchedule; exports.runFusedArray = runFusedArray; exports.runtimeCapabilities = _chunkWQ5QNU5Rcjs.runtimeCapabilities; exports.runtimeEventRecordContext = _chunkJX3LZQJHcjs.runtimeEventRecordContext; exports.runtimeForCaller = _chunkWQ5QNU5Rcjs.runtimeForCaller; exports.runtimeHooksToEventHandler = _chunkJX3LZQJHcjs.runtimeHooksToEventHandler; exports.sanitizeLaneKey = _chunkWQ5QNU5Rcjs.sanitizeLaneKey; exports.scan = scan; exports.selectedEngineStats = selectedEngineStats; exports.serializeFusedPipeline = serializeFusedPipeline; exports.setBenchmarkBudget = _chunkWQ5QNU5Rcjs.setBenchmarkBudget; exports.setFusionEnabled = setFusionEnabled; exports.setFusionVerbose = setFusionVerbose; exports.sleep = _chunk45F7OKGTcjs.sleep; exports.some = _chunkDJQ7OMMBcjs.some; exports.streamFromReadableStream = _chunk7HUOJA4Wcjs.streamFromReadableStream; exports.succeed = _chunkDJQ7OMMBcjs.succeed; exports.supervise = _chunkMWXMNYJScjs.supervise; exports.sync = _chunkDJQ7OMMBcjs.sync; exports.tagError = _chunkMWXMNYJScjs.tagError; exports.takeP = takeP; exports.takeSchedule = _chunkJF4XXPZ5cjs.take; exports.takeStream = take2; exports.tapEffectP = tapEffectP; exports.throttle = throttle; exports.timeout = _chunk45F7OKGTcjs.timeout; exports.toPromise = _chunkWQ5QNU5Rcjs.toPromise; exports.toPromiseByCaller = _chunkWQ5QNU5Rcjs.toPromiseByCaller; exports.uncons = _chunk7HUOJA4Wcjs.uncons; exports.union = _chunkJF4XXPZ5cjs.union; exports.unit = _chunkDJQ7OMMBcjs.unit; exports.unsafeGetCurrentRuntime = _chunkWQ5QNU5Rcjs.unsafeGetCurrentRuntime; exports.unsafeRunAsync = _chunkWQ5QNU5Rcjs.unsafeRunAsync; exports.unsafeRunFoldWithEnv = _chunkWQ5QNU5Rcjs.unsafeRunFoldWithEnv; exports.unwrapScoped = _chunk7HUOJA4Wcjs.unwrapScoped; exports.useManaged = _chunkJF4XXPZ5cjs.useManaged; exports.useResource = _chunkJF4XXPZ5cjs.useResource; exports.via = via; exports.whileInput = _chunkJF4XXPZ5cjs.whileInput; exports.widenOpt = _chunk7HUOJA4Wcjs.widenOpt; exports.windowed = _chunkJF4XXPZ5cjs.windowed; exports.withAsyncPromise = _chunkDJQ7OMMBcjs.withAsyncPromise; exports.withCurrentFiber = _chunkWQ5QNU5Rcjs.withCurrentFiber; exports.withScope = _chunkTVN5I4U6cjs.withScope; exports.withScopeAsync = _chunkTVN5I4U6cjs.withScopeAsync; exports.zip = _chunk7HUOJA4Wcjs.zip; exports.zipPar = _chunkNYL4D7SKcjs.zipPar; exports.zipStream = zip2; exports.zipWith = zipWith;
|