Documentation
    Preparing search index...

    Interface EventBuffer

    Event buffer and subscription delivery engine.

    interface EventBuffer {
        bufferAndDeliver(event: NostrEvent, senderId: string | null): void;
        clear(): void;
        deliverToSubscriptions(event: NostrEvent, senderId: string | null): void;
        getBufferedEvents(): readonly NostrEvent[];
        getSubscriptions(): Map<string, SubscriptionEntry>;
    }
    Index

    Methods