Create a context-local storage slot.
The returned handle's get/set read and write a bag scoped to the
current invocation (execute call) and shared by every fiber under
it. Each contextLocal() call mints an independent slot — two handles
never collide, even with the same value type.
Minting is pure (it allocates a unique key and captures the default),
so a slot can be defined at module scope and reused across
invocations; only get/set touch the current fiber.
Create a context-local storage slot.
The returned handle's
get/setread and write a bag scoped to the current invocation (executecall) and shared by every fiber under it. EachcontextLocal()call mints an independent slot — two handles never collide, even with the same value type.Minting is pure (it allocates a unique key and captures the default), so a slot can be defined at module scope and reused across invocations; only
get/settouch the current fiber.