class method
Ractor.recv
() -> untyped
recv
ractor.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ractor.rb, line 349
def self.receive
Ractor.current.default_port.receive
end
Alias of .receive
Receives a message from the current ractor’s default port.