Applesauce
    Preparing search index...

    Interface IExpirationManager<E>

    Interface for managing event expirations

    interface IExpirationManager<E extends StoreEvent = NostrEvent> {
        expired$: Observable<string>;
        check(event: E): boolean;
        dispose?(): void;
        forget(eventId: string): void;
        track(event: E): void;
    }

    Type Parameters

    Implemented by

    Index
    expired$: Observable<string>

    A stream of event IDs that have expired