class Emit::ChannelEndRead
Public Instance Methods
call()
click to toggle source
# File lib/emit/channel_end_read.rb, line 6 def call @channel.read end
Also aliased as: read
reader?()
click to toggle source
# File lib/emit/channel_end_read.rb, line 21 def reader? true end
retire()
click to toggle source
# File lib/emit/channel_end_read.rb, line 11 def retire return if @retired @retired = true @channel.leave_reader [:call, :read, :post_read].each do |sym| define_singleton_method(sym) { raise ChannelRetiredException } end end