File: //usr/share/ri/3.0.0/system/Ractor/close_incoming-i.ri
U:RDoc::AnyMethod[iI"close_incoming:ETI"Ractor#close_incoming;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I">Closes the incoming port and returns its previous state. ;TI"SAll further attempts to Ractor.receive in the ractor, and #send to the ractor ;TI"(will fail with Ractor::ClosedError.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [
I"!r = Ractor.new {sleep(500)}
;TI"!r.close_incoming #=> false
;TI" r.close_incoming #=> true
;TI"r.send('test')
;TI"@# Ractor::ClosedError (The incoming-port is already closed);T:@format0:
@fileI"ractor.rb;T:0@omit_headings_from_table_of_contents_below0I"+ractor.close_incoming -> true | false
;T0[ I"();T@FI"Ractor;TcRDoc::NormalClass00