File tree Expand file tree Collapse file tree 2 files changed +0
-24
lines changed
Expand file tree Collapse file tree 2 files changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -424,22 +424,6 @@ class Ractor
424424 %a{deprecated: Use Ractor.[]= instead}
425425 def []= : [T] (interned sym, T val) -> T
426426
427- # <!--
428- # rdoc-file=ractor.rb
429- # - ractor.close_outgoing -> true | false
430- # -->
431- # Closes the outgoing port and returns whether it was already closed. All
432- # further attempts to Ractor.yield in the ractor, and #take from the ractor will
433- # fail with Ractor::ClosedError.
434- #
435- # r = Ractor.new {sleep(500)}
436- # r.close_outgoing #=> false
437- # r.close_outgoing #=> true
438- # r.take
439- # # Ractor::ClosedError (The outgoing-port is already closed)
440- #
441- def close_outgoing : () -> bool
442-
443427 # <!--
444428 # rdoc-file=ractor.rb
445429 # - inspect()
Original file line number Diff line number Diff line change @@ -93,14 +93,6 @@ class RactorInstanceTest < Test::Unit::TestCase
9393
9494 testing "::Ractor"
9595
96- def test_close_outgoing
97- omit "Ractor#close_outgoing is not implemented" if RUBY_VERSION >= "3.5"
98-
99- r = Ractor . new { }
100- assert_send_type "() -> bool" ,
101- r , :close_outgoing
102- end
103-
10496 def test_inspect
10597 assert_send_type "() -> String" ,
10698 Ractor . current , :inspect
You can’t perform that action at this time.
0 commit comments