Class: Google::Cloud::Firestore::QueryListener
- Inherits:
-
Object
- Object
- Google::Cloud::Firestore::QueryListener
- Defined in:
- lib/google/cloud/firestore/query_listener.rb
Overview
QueryListener
An ongoing listen operation on a query. This is returned by calling Google::Cloud::Firestore::Query#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.
83 84 85 |
# File 'lib/google/cloud/firestore/query_listener.rb', line 83 def stop @listener.stop end |
#stopped? ⇒ Boolean
Whether the client has stopped listening for changes.
112 113 114 |
# File 'lib/google/cloud/firestore/query_listener.rb', line 112 def stopped? @listener.stopped? end |