instance method post

Ruby on Rails 5.0.7.2

Since v5.0.7.2 Last seen in v5.0.7.2

Signature

post(task = nil, &block)

No documentation comment.

Parameters

task opt = nil
block block
Source
# 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

Defined in actioncable/lib/action_cable/connection/faye_event_loop.rb line 17 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionCable::Connection::FayeEventLoop

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close