Vana SDK - v2.2.2
    Preparing search index...

    Interface Observer<TEvent>

    Implements the observer in the observer pattern.

    Receives notifications about events from observable subjects for decoupled event handling.

    interface Observer<TEvent = unknown> {
        notify(event: TEvent): void | Promise<void>;
    }

    Type Parameters

    • TEvent = unknown

      Type of events to observe

    Index

    Methods

    Methods