module Ractor::Channel

Constants

SAVED_BY_CHANNEL
VERSION

Public Class Methods

prepended(base) click to toggle source
# File lib/ractor/channel.rb, line 41
def self.prepended(base)
  base.singleton_class.prepend(ClassMethods)
end

Public Instance Methods

send(value, channel: nil, **options) click to toggle source
Calls superclass method
# File lib/ractor/channel.rb, line 17
def send(value, channel: nil, **options)
  super([channel, value].freeze, **options)
end