interface ISubscriptionSDK {
    ping(peerId?): Promise<SDKProtocolResult>;
    subscribe<T>(decoders, callback, options?): Promise<SDKProtocolResult>;
    unsubscribe(contentTopics): Promise<SDKProtocolResult>;
    unsubscribeAll(): Promise<SDKProtocolResult>;
}

Methods

Generated using TypeDoc