Skip to content

Commit

Permalink
fix: ininial sync content flush not scheduled
Browse files Browse the repository at this point in the history
  • Loading branch information
rturnq authored and DylanPiercey committed Feb 19, 2025
1 parent 69581ba commit 4c20455
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-ducks-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"marko": patch
---

Fix initial sync content not scheduled for flush
1 change: 1 addition & 0 deletions packages/runtime-class/src/runtime/html/AsyncStream.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ var proto = (AsyncStream.prototype = {
writer.next = originalWriter.next;
writer.state = this._state;
writer.merge(originalWriter);
writer.scheduleFlush();

this._state.stream = stream;
this._state.writer = writer;
Expand Down

0 comments on commit 4c20455

Please # to comment.