xmpp_p2p
    Preparing search index...

    Interface XmppCollectionContext

    Runtime dependencies required by the collection manager.

    interface XmppCollectionContext {
        jid: string;
        libp2p: any;
        ready: Promise<void>;
        storage: XmppStorage;
        emit(event: string, ...args: any[]): boolean;
        ensureTopicValidator(
            topic: string,
            kind: "secure" | "subscription" | "feed" | "attachment" | "collection",
        ): void;
        getOrCreateStream(peerAddr: string | Multiaddr): Promise<XmppStream>;
        getPubSubService(): any;
    }
    Index

    Properties

    jid: string
    libp2p: any
    ready: Promise<void>
    storage: XmppStorage

    Methods

    • Parameters

      • topic: string
      • kind: "secure" | "subscription" | "feed" | "attachment" | "collection"

      Returns void