Skip to content

synchronized/v3.6.1

@alextekartik alextekartik tagged this 05 Nov 09:58
The io heartbeat runs in a separate isolate: the lock stays held while
the event loop of the holder is blocked (synchronous work,
Process.runSync), is released at once when the holder isolate exits or
is killed without releasing it (exit listener, plus a ping in case it
died before the listener was added), and no longer keeps the holder
isolate alive.

Document that on node the lock only covers the current process (its Web
Locks API).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Mtk7qC2naTV1hPQVWHRFH
Assets 2
Loading