method

stream_transmitter

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: Streams
stream_transmitter(handler = identity_handler, broadcasting:) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/action_cable/channel/streams.rb, line 189
        def stream_transmitter(handler = identity_handler, broadcasting))
          via = "streamed from #{broadcasting}"

          -> (message) do
            transmit handler.(message), via: via
          end
        end
Register or log in to add new notes.