Toloka documentation

on_status_change

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

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