Expose a sleep(..)
func on ModuleApi
This commit is contained in:
parent
0c3ba88496
commit
0ace9f8d85
|
@ -876,6 +876,11 @@ class ModuleApi:
|
|||
f,
|
||||
)
|
||||
|
||||
async def sleep(self, seconds: float) -> None:
|
||||
"""Sleeps for the given number of seconds."""
|
||||
|
||||
await self._clock.sleep(seconds)
|
||||
|
||||
async def send_mail(
|
||||
self,
|
||||
recipient: str,
|
||||
|
|
Loading…
Reference in a new issue