FICHA · MANJARO

ruby-fiber-local

Provides a class-level mixin to make fiber local state easy

  • Library
  • LIBRARY
  • Dependency only
official+codex · reviewed · May 29, 2026 description in en

Description

Helps Ruby classes keep state that is local to the current fiber instead of global to the whole process. It is useful in async code where requests or tasks share the same thread but need separate context.

Fiber-local state can leak between tasks when lifecycle rules are unclear. Reset context after each request or job, and avoid storing long-lived secrets there.

Permissions

Permissions not analysed for this source yet.