lib/vim_channels/backends/base.rb
def start
        @stopping = false
        starter   = proc do
          connect
          yield if block_given?
          @running = true
        end

        # Allow for early run up of eventmachine
        if EventMachine.reactor_running?
          starter.call
        else
          @started_reactor = true
          EventMachine.run(&starter)
        end
      end
# Start the backend and connect to it.
#
# @return [void]
Start the backend and connect to it.
Start the backend and connect to it .
def start
        @stopping = false
        starter   = proc do
          connect
          yield if block_given?
          @running = true
        end
        if EventMachine.reactor_running?
          starter.call
        else
          @started_reactor = true
          EventMachine.run(&starter)
        end
      end
def start @stopping = false starter = proc do connect yield if block_given? @running = true end if EventMachine . reactor_running? starter . call else @started_reactor = true EventMachine . run ( & starter ) end end
Start the backend and connect to it.
Start the backend and connect to it .
# Allow for early run up of eventmachine
None
void