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).
Actions