method

stream_or_reject_for

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - Class: Streams
stream_or_reject_for(record) public

Calls stream_for if record is present, otherwise calls reject. This method is intended to be called when you’re looking for a record based on a parameter, if its found it will start streaming. If the record is nil then it will reject the connection.

Show source
Register or log in to add new notes.