class Sass::Embedded::Dispatcher::Channel

The {Channel} between {Dispatcher} and {Host}.

def disconnect

def disconnect
  @dispatcher.unsubscribe(id)
end

def error(...)

def error(...)
  Thread.new do
    @dispatcher.error(...)
  end
end

def initialize(dispatcher, host)

def initialize(dispatcher, host)
  @dispatcher = dispatcher
  @id = @dispatcher.subscribe(host)
end

def send_proto(...)

def send_proto(...)
  @dispatcher.send_proto(...)
end