method

post

rails latest stable - Class: ActionCable::Connection::FayeEventLoop

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

post(task = nil, &block)
public

No documentation available.

# File actioncable/lib/action_cable/connection/faye_event_loop.rb, line 17
      def post(task = nil, &block)
        task ||= block

        ensure_reactor_running
        ::EM.next_tick(&task)
      end