diff options
author | reivilibre <38398653+reivilibre@users.noreply.github.com> | 2021-08-16 18:11:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 18:11:48 +0100 |
commit | 19e51b14d23f756883688fd8238da61c6ff29cc3 (patch) | |
tree | 2eae0757631271a415460dba5f3aa3994dd81abe /docs/manhole.md | |
parent | Update CONTRIBUTING.md to fix index links and SyTest instructions (#10599) (diff) | |
download | synapse-19e51b14d23f756883688fd8238da61c6ff29cc3.tar.xz |
Manhole: wrap coroutines in `defer.ensureDeferred` automatically (#10602)
Diffstat (limited to 'docs/manhole.md')
-rw-r--r-- | docs/manhole.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/manhole.md b/docs/manhole.md index 37d1d7823c..db92df88dc 100644 --- a/docs/manhole.md +++ b/docs/manhole.md @@ -67,7 +67,7 @@ This gives a Python REPL in which `hs` gives access to the `synapse.server.HomeServer` object - which in turn gives access to many other parts of the process. -Note that any call which returns a coroutine will need to be wrapped in `ensureDeferred`. +Note that, prior to Synapse 1.41, any call which returns a coroutine will need to be wrapped in `ensureDeferred`. As a simple example, retrieving an event from the database: |