@andrew_l/app 0.3.8 → 0.4.1
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 +2 -1
- package/bin/vrun +0 -1
- package/dist/_chunks/cli.mjs +2 -0
- package/dist/index.d.mts +315 -320
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2026 -2348
- package/dist/index.mjs.map +1 -1
- package/dist/vrun.d.mts +1 -2
- package/dist/vrun.mjs +9 -10
- package/dist/vrun.mjs.map +1 -1
- package/package.json +10 -9
- package/dist/index.cjs +0 -2678
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -651
- package/dist/index.d.ts +0 -651
- package/dist/vrun.cjs +0 -13
- package/dist/vrun.cjs.map +0 -1
- package/dist/vrun.d.cts +0 -2
- package/dist/vrun.d.ts +0 -2
package/README.md
CHANGED
|
@@ -170,9 +170,10 @@ export default defineWorker({
|
|
|
170
170
|
},
|
|
171
171
|
},
|
|
172
172
|
|
|
173
|
-
async entry() {
|
|
173
|
+
async entry(props, abortSignal) {
|
|
174
174
|
const pending = await fetchPending();
|
|
175
175
|
for (const msg of pending) {
|
|
176
|
+
if (abortSignal.aborted) break;
|
|
176
177
|
await this.send(msg.to, msg.body);
|
|
177
178
|
}
|
|
178
179
|
},
|
package/bin/vrun
CHANGED