We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c2ba33 + b1880fa commit 506cf5cCopy full SHA for 506cf5c
packages/jerni/jsr.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@jerni/jerni-3",
3
- "version": "0.9.13",
+ "version": "0.9.14",
4
"exports": {
5
".": "./src/createJourney.ts",
6
"./types": "./src/lib/exported_types.ts",
packages/jerni/package.json
- "version": "v0.9.13",
+ "version": "v0.9.14",
"type": "module",
"main": "src/index.ts",
"bin": {
packages/jerni/src/getEventStream.ts
@@ -194,6 +194,9 @@ async function* retrieveJourneyCommittedEvents(
194
const utf8Size = utf8.length;
195
pendingSize += utf8Size;
196
197
+ // yield to event loop
198
+ await Bun.sleep(0);
199
+
200
pending.push(utf8);
201
202
const r = messageListFromString(pending.join(""));
0 commit comments