mirror of
https://github.com/matrix-org/synapse.git
synced 2025-08-25 16:31:13 +02:00
Add comment on cancellation of observers
This commit is contained in:
parent
6f6ebd216d
commit
a68abc79fd
@ -38,6 +38,9 @@ class ObservableDeferred(object):
|
|||||||
deferred.
|
deferred.
|
||||||
|
|
||||||
If consumeErrors is true errors will be captured from the origin deferred.
|
If consumeErrors is true errors will be captured from the origin deferred.
|
||||||
|
|
||||||
|
Cancelling or otherwise resolving an observer will not affect the original
|
||||||
|
ObservableDeferred.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__slots__ = ["_deferred", "_observers", "_result"]
|
__slots__ = ["_deferred", "_observers", "_result"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user