Toloka documentation

on_any_event

    toloka.streaming.observer.AssignmentsObserver.on_any_event | Source code

    on_any_event(self, callback: Union[Callable[[List[AssignmentEvent]], None], Callable[[List[AssignmentEvent]], Awaitable[None]]])