Actions
Feature #17286
open`Ractor.new` should accept `move: true`
Feature #17286:
`Ractor.new` should accept `move: true`
Status:
Open
Assignee:
-
Target version:
-
Description
Another surprise when writing my backport is that Ractor.new
does not accept move:
keyword argument.
Ractor.new(val, move: true) { |data| ... }
# equivalent to
Ractor.new { data = Ractor.receive; ... }.tap { |r| r.send(val, move: true) }
Actions