async def METHOD_NAME(self, event: Event) -> None:
    """Emit a single event"""
    if not hasattr(self, "_in_context"):
        raise TypeError(
            "Events may only be emitted while this client is being used as a "
            "context manager"
        )
    return await self._emit(event)