Class: Google::Cloud::Firestore::DocumentListener
- Inherits:
-
Object
- Object
- Google::Cloud::Firestore::DocumentListener
- Defined in:
- lib/google/cloud/firestore/document_listener.rb
Overview
An ongoing listen operation on a document reference. This is returned by calling Google::Cloud::Firestore::DocumentReference#listen.
Instance Method Summary collapse
-
#stop ⇒ Object
Stops the client listening for changes.
-
#stopped? ⇒ Boolean
Whether the client has stopped listening for changes.
Instance Method Details
#stop ⇒ Object
Stops the client listening for changes.
90 91 92 |
# File 'lib/google/cloud/firestore/document_listener.rb', line 90 def stop @listener.stop end |
#stopped? ⇒ Boolean
Whether the client has stopped listening for changes.
119 120 121 |
# File 'lib/google/cloud/firestore/document_listener.rb', line 119 def stopped? @listener.stopped? end |