mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-09 22:41:49 -05:00
Manhole: wrap coroutines in defer.ensureDeferred automatically (#10602)
This commit is contained in:
parent
0db8cab72c
commit
19e51b14d2
3 changed files with 16 additions and 1 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue