fiber_concurrency.rb

lib/sequel/extensions/fiber_concurrency.rb
Last Update: 2020-04-17 11:52:37 -0700

The fiber_concurrency extension changes the default concurrency primitive in Sequel to be Fiber.current instead of Thread.current. This is the value used in various hash keys to implement safe concurrency (thread-safe concurrency by default, fiber-safe concurrency with this extension. It can be enabled via:

Sequel.extension :fiber_concurrency

Related module: Sequel::FiberConcurrency

Required files

  1. fiber