Skip to main content

PlatformEventManager

A class for managing Actor events.

You shouldn't use this class directly, but instead use it via the Actor.on() and Actor.off() methods.

Index

Constructors

Methods

Constructors

__init__

  • __init__(config, kwargs): None
  • Create an instance of the EventManager.


    Parameters

    • config: Configuration

      The Actor configuration to be used in this event manager.

    • kwargs: Unpack[EventManagerOptions]

      Event manager options - forwarded to the base class

    Returns None

Methods

__aenter__

  • async __aenter__(): Self
  • Returns Self

__aexit__

  • async __aexit__(exc_type, exc_value, exc_traceback): None
  • Parameters

    • exc_type: type[BaseException] | None
    • exc_value: BaseException | None
    • exc_traceback: TracebackType | None

    Returns None

Page Options