diff --git a/test/interval.test.ts b/test/interval.test.ts index dda79231f..83006bccc 100644 --- a/test/interval.test.ts +++ b/test/interval.test.ts @@ -17,7 +17,7 @@ describe("interval", () => { let result = yield* race([ task, call(function* () { - yield* sleep(50); + yield* sleep(500); return "interval not producing!"; }), ]); diff --git a/test/suite.ts b/test/suite.ts index a2cb95fa1..2d1025ad3 100644 --- a/test/suite.ts +++ b/test/suite.ts @@ -117,11 +117,12 @@ export function x( }, lines: stream(tinyexec), *kill(signal) { - tinyexec.kill(signal); if ( Deno.build.os === "windows" && signal === "SIGINT" && tinyexec.pid ) { ctrlc(tinyexec.pid); + } else { + tinyexec.kill(signal); } let result = yield* output; diff --git a/www/blog/2026-02-06-structured-concurrency-for-javascript/structured-concurrency-js.svg b/www/blog/2026-02-06-structured-concurrency-for-javascript/structured-concurrency-js.svg index 1a22176b9..7c6ac0cbe 100644 --- a/www/blog/2026-02-06-structured-concurrency-for-javascript/structured-concurrency-js.svg +++ b/www/blog/2026-02-06-structured-concurrency-for-javascript/structured-concurrency-js.svg @@ -133,8 +133,7 @@ /> - + } @@ -498,7 +496,11 @@ - Promises @@ -573,17 +575,27 @@ ● still pending ● still ticking - ● port still bound - finally {} ? - Effection @@ -698,10 +710,17 @@ /> - ✓ halted + cleaned up - Async should just feel normal. diff --git a/www/blog/2026-02-13-abortcontroller-abort-doesnt-mean-it-stopped/abortcontroller-abort.svg b/www/blog/2026-02-13-abortcontroller-abort-doesnt-mean-it-stopped/abortcontroller-abort.svg index c8f7158ac..708d102db 100644 --- a/www/blog/2026-02-13-abortcontroller-abort-doesnt-mean-it-stopped/abortcontroller-abort.svg +++ b/www/blog/2026-02-13-abortcontroller-abort-doesnt-mean-it-stopped/abortcontroller-abort.svg @@ -94,8 +94,7 @@ /> - + } @@ -678,7 +676,7 @@ Effection Blog AbortController.abort() - Doesn't Mean It Stopped + Doesn't Mean It Stopped @@ -745,31 +743,70 @@ - tick: STILL RUNNING - tick: STILL RUNNING - tick: STILL RUNNING - >>> calling abort() - >>> abort() returned - task ended with: aborted - >>> caller thinks it's done - tick: STILL RUNNING - tick: STILL RUNNING - tick: STILL RUNNING - tick: STILL RUNNING - tick: STILL RUNNING - ... @@ -858,17 +895,35 @@ - tick: RUNNING - tick: RUNNING - tick: RUNNING - >>> leaving scope - >>> scope exited - all children stopped diff --git a/www/blog/blog-image-template.svg b/www/blog/blog-image-template.svg index ddf3f8f24..d6212a3a5 100644 --- a/www/blog/blog-image-template.svg +++ b/www/blog/blog-image-template.svg @@ -148,8 +148,7 @@ /> - + }