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