Skip to content
instance method

Ractor#send

(untyped obj, ?move: ::boolish) -> ::Ractor
ractor.send(msg, move: false) → self

This is equivalent to Port#send to the ractor’s default_port.

Ruby version changes

  1. 4.0
See also #recv #to_s #receive #unmonitor also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0