Path to this page:
Subject: CVS commit: pkgsrc/devel/ruby-fiber-storage
From: Takahiro Kambe
Date: 2024-05-05 18:10:02
Message id: 20240505161002.BAAC8FA2C@cvs.NetBSD.org
Log Message:
devel/ruby-fiber-storage: add package version 0.1.0
This package is required by new version of devel/ruby-fiber-local
package.
Fiber::Storage
This gem provides a shim for Fiber.[], Fiber.[]=, Fiber#storage,
Fiber#storage=, which was introduced in Ruby 3.2.
Motivation
Ruby 3.2 introduces inheritable fiber storage for per-request or
per-operation state. This gem provides a shim for Ruby 3.1 and earlier to
make adoption easier. It isn't able to provide the full range of features,
but it should be sufficient for most use cases.
Notably, it does not support inheritance across threads or lazy Enumerator.
This is a limitation of the shim implementation.
Files: