summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-19 11:48:55 +0100
committerErik Johnston <erik@matrix.org>2015-06-19 11:48:55 +0100
commita68abc79fd90465aed6ead3eec1a5704c64a1682 (patch)
tree0e34611053de7a2a99d3f92e3161cdcf180bc921
parentPEP8 (diff)
downloadsynapse-a68abc79fd90465aed6ead3eec1a5704c64a1682.tar.xz
Add comment on cancellation of observers
Diffstat (limited to '')
-rw-r--r--synapse/util/async.py3
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"]