Skip to main content

StatusMessageWatcher

Utility class for logging status messages from another Actor run.

Status message is logged at fixed time intervals, and there is no guarantee that all messages will be logged, especially in cases of frequent status message changes.

Hierarchy

Index

Methods

Methods

__init__

  • __init__(*, to_logger, check_period): None
  • Initialize StatusMessageWatcher.


    Parameters

    • keyword-onlyto_logger: logging.Logger

      The logger to which the status message will be redirected.

    • optionalkeyword-onlycheck_period: timedelta = timedelta(seconds=5)

      The period with which the status message will be polled.

    Returns None

Page Options