Source code for mersal.threading.periodic_async_task
from typing import Protocol
__all__ = ("PeriodicAsyncTask",)
[docs]
class PeriodicAsyncTask(Protocol):
async def start(self) -> None: ...
async def stop(self) -> None: ...
from typing import Protocol
__all__ = ("PeriodicAsyncTask",)
[docs]
class PeriodicAsyncTask(Protocol):
async def start(self) -> None: ...
async def stop(self) -> None: ...