Toloka documentation

on_open

    toloka.streaming.observer.PoolStatusObserver.on_open | Source code

    on_open(self, callback: Union[Callable[[Pool], None], Callable[[Pool], Awaitable[None]]])