mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
api(jsonrpc): process events forever by default
This commit is contained in:
@@ -104,7 +104,7 @@ class Client:
|
|||||||
|
|
||||||
def _process_events(
|
def _process_events(
|
||||||
self,
|
self,
|
||||||
until_func: Callable[[AttrDict], bool],
|
until_func: Callable[[AttrDict], bool] = _forever,
|
||||||
until_event: EventType = False,
|
until_event: EventType = False,
|
||||||
) -> AttrDict:
|
) -> AttrDict:
|
||||||
"""Process events until the given callable evaluates to True,
|
"""Process events until the given callable evaluates to True,
|
||||||
|
|||||||
Reference in New Issue
Block a user