module documentation

Helper for dealing with async hooks.

Async Function call_hook Call coroutine hook, but provide helpful TypeError if hook is not a coroutine.
async def call_hook(hook: Callable[[], Awaitable[None]]): ΒΆ

Call coroutine hook, but provide helpful TypeError if hook is not a coroutine.