Skip to main content
Version: 2.0.x

Fiber-local State

Both the FiberRef and ZState data types are state management tools that are scoped to a certain fiber. Their values are only accessible within the fiber that runs them.

We have a separate page for the FiberRef and ZState data types which explain how to use them.