Module slack_bolt.lazy_listener.asyncio_runner

Classes

class AsyncioLazyListenerRunner (logger: logging.Logger)
Expand source code
class AsyncioLazyListenerRunner(AsyncLazyListenerRunner):
    logger: Logger

    def __init__(
        self,
        logger: Logger,
    ):
        self.logger = logger

    def start(self, function: Callable[..., Awaitable[None]], request: AsyncBoltRequest) -> None:
        asyncio.ensure_future(
            to_runnable_function(
                internal_func=function,
                logger=self.logger,
                request=request,
            )
        )

Ancestors

Class variables

var logger : logging.Logger

Inherited members