psytask - v1.1.1
    Preparing search index...

    Class EventEmitter<M, EventMap>

    Type Parameters

    • M extends LooseObject & { cleanup?: never }
    • EventMap extends { cleanup: null } = M & { cleanup: null }

    Hierarchy (View Summary)

    Implements

    • Disposable
    Index

    Constructors

    Properties

    Methods

    Constructors

    • Type Parameters

      • M extends LooseObject & { cleanup?: undefined }
      • EventMap extends { cleanup: null } = never

      Returns EventEmitter<M, EventMap>

    Properties

    listeners: { [K in string | number | symbol]?: Set<(e: ...) => ...> } = {}

    Methods