Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method · added in Ruby 4.0
Ractor#unmonitor
(::Ractor::Port[untyped]) -> self
ractor.unmonitor(port) → self
ractor.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/ractor.rb, line 683
def unmonitor port
__builtin_ractor_unmonitor(port)
end
Unregisters the port from the monitoring ports for this ractor.
Ruby version changes
-
4.0
-
Ractor#monitorandRactor#unmonitorwere added as low-level interfaces used internally to implementRactor#join.
-