instance method
post
Ruby on Rails 5.2.8.1
Since v5.2.8.1Signature
post(task = nil, &block)
No documentation comment.
Parameters
-
taskopt = nil -
blockblock
Source
# File actioncable/lib/action_cable/connection/stream_event_loop.rb, line 22
def post(task = nil, &block)
task ||= block
spawn
@executor << task
end
Defined in actioncable/lib/action_cable/connection/stream_event_loop.rb line 22
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Connection::StreamEventLoop