diff options
author | Erik Johnston <erik@matrix.org> | 2015-06-19 11:48:55 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-06-19 11:48:55 +0100 |
commit | a68abc79fd90465aed6ead3eec1a5704c64a1682 (patch) | |
tree | 0e34611053de7a2a99d3f92e3161cdcf180bc921 /synapse/util/async.py | |
parent | PEP8 (diff) | |
download | synapse-a68abc79fd90465aed6ead3eec1a5704c64a1682.tar.xz |
Add comment on cancellation of observers
Diffstat (limited to '')
-rw-r--r-- | synapse/util/async.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/util/async.py b/synapse/util/async.py index 6f567bcaa6..5a1d545c96 100644 --- a/synapse/util/async.py +++ b/synapse/util/async.py @@ -38,6 +38,9 @@ class ObservableDeferred(object): 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"] |