Path to this page:
./
devel/ruby-fiber-storage,
Provides a compatibility shim for fiber storage
Branch: CURRENT,
Version: 1.0.0,
Package name: ruby32-fiber-storage-1.0.0,
Maintainer: pkgsrc-usersFiber::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.
Master sites:
Filesize: 11 KB
Version history: (Expand)
- (2024-09-18) Updated to version: ruby32-fiber-storage-1.0.0
- (2024-06-15) Updated to version: ruby32-fiber-storage-0.1.2
- (2024-05-26) Updated to version: ruby32-fiber-storage-0.1.1
- (2024-05-05) Package added to pkgsrc.se, version ruby32-fiber-storage-0.1.0 (created)