IPWorks OpenPGP 2020 Python Edition

Questions / Feedback?

on_idle_info Event

Fires whenever responses from the server are received while idling.


class PIMAPIdleInfoEventParams(object):
  def message() -> str: ...
  def cancel() -> bool: ...
  def cancel(value) -> None: ...

# In class PIMAP:
def on_idle_info() -> Callable[[PIMAPIdleInfoEventParams], None]: ...
def on_idle_info(event_hook: Callable[[PIMAPIdleInfoEventParams], None]) -> None: ...


This event fires each time a response is received from the server after calling start_idle. This will fire with information from the server intended to update the client. The type of data sent by the server may vary.

Message holds the response received from the server.

Cancel may be set to stop idling from within the event. This is equivalent to calling stop_idle.

Some possible values returned by the server are:

+ idling

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 Python Edition - Version 20.0 [Build 8161]