Flowdock
method

stream_decoder

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Streams
stream_decoder(handler = identity_handler, coder:) 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 155
        def stream_decoder(handler = identity_handler, coder))
          if coder
            -> message { handler.(coder.decode(message)) }
          else
            handler
          end
        end
Register or log in to add new notes.