Skip to content
instance method

Ractor#close

ractor.close → true | false

Closes the default port. Closing a port is allowed only by the ractor which created the port. Therefore, the receiver must be the current ractor.

See also #[]= #default_port #[] #inspect also in 4.1