Expose a sleep(..) func on ModuleApi

This commit is contained in:
Erik Johnston 2021-11-10 10:37:18 +00:00
parent 0c3ba88496
commit 0ace9f8d85

View file

@ -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,