method

stream_or_reject_for

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Streams
stream_or_reject_for(model) public

Calls stream_for with the given model if it’s present to start streaming, otherwise rejects the subscription.

Show source
Register or log in to add new notes.