@dudousxd/nestjs-agent 1.19.1 → 1.19.2
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/dist/durable/index.cjs +7 -1
- package/dist/durable/index.cjs.map +1 -1
- package/dist/durable/index.js +7 -1
- package/dist/durable/index.js.map +1 -1
- package/dist/index.cjs +7 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -276,10 +276,16 @@ __name(utcDay, "utcDay");
|
|
|
276
276
|
function childSinkWriter(writer) {
|
|
277
277
|
return {
|
|
278
278
|
write: /* @__PURE__ */ __name((chunk) => writer.write(chunk), "write"),
|
|
279
|
+
// The top-level run owns end/fail — but what the child wrote must not be held back past it.
|
|
279
280
|
end: /* @__PURE__ */ __name(async () => {
|
|
281
|
+
await writer.flush?.();
|
|
280
282
|
}, "end"),
|
|
281
283
|
fail: /* @__PURE__ */ __name(async () => {
|
|
282
|
-
|
|
284
|
+
await writer.flush?.();
|
|
285
|
+
}, "fail"),
|
|
286
|
+
flush: /* @__PURE__ */ __name(async () => {
|
|
287
|
+
await writer.flush?.();
|
|
288
|
+
}, "flush")
|
|
283
289
|
};
|
|
284
290
|
}
|
|
285
291
|
__name(childSinkWriter, "childSinkWriter");
|