mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:36:02 -04:00
Document the Synapse version of a new module API method (#12917)
This commit is contained in:
parent
af7db19e1e
commit
cd9fc058de
2 changed files with 7 additions and 1 deletions
|
@ -1149,7 +1149,10 @@ class ModuleApi:
|
|||
)
|
||||
|
||||
async def sleep(self, seconds: float) -> None:
|
||||
"""Sleeps for the given number of seconds."""
|
||||
"""Sleeps for the given number of seconds.
|
||||
|
||||
Added in Synapse v1.49.0.
|
||||
"""
|
||||
|
||||
await self._clock.sleep(seconds)
|
||||
|
||||
|
@ -1435,6 +1438,8 @@ class ModuleApi:
|
|||
"""Generates list of monthly active users and their services.
|
||||
Please see corresponding storage docstring for more details.
|
||||
|
||||
Added in Synapse v1.61.0.
|
||||
|
||||
Arguments:
|
||||
start_timestamp: If specified, only include users that were first active
|
||||
at or after this point
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue