Actions
Feature #22247
openAdd Ractor.movable?
Feature #22247:
Add Ractor.movable?
Status:
Open
Assignee:
-
Target version:
-
Description
Some objects cannot be moved (like unshareable lambdas).
It would be great to have a method to check whether an object is movable, similar to Ractor.shareable?.
Not 100% sure what it should return for shareable objects, but I would lean towards true as well (despite them not being moved), as they can be passed to Ractor.send(object, move: true).
Updated by rkh (Konstantin Haase) 1 day ago
- Tracker changed from Bug to Feature
- ruby -v deleted (
ruby 4.1.0dev (2026-08-15T07:21:53Z master d1c079751b) +PRISM [arm64-darwin25]) - Backport deleted (
3.3: UNKNOWN, 3.4: UNKNOWN, 4.0: UNKNOWN)
Actions