instance method
post
Ruby on Rails 7.1.6
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 21
def post(task = nil, &block)
task ||= block
spawn
@executor << task
end
Defined in actioncable/lib/action_cable/connection/stream_event_loop.rb line 21
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Connection::StreamEventLoop