@sudoplatform/sudo-privacy-interaction
    Preparing search index...

    Interface DataHolderSubscriber

    Subscriber interface for receiving data holder events.

    DataHolderSubscriber

    interface DataHolderSubscriber {
        connectionStatusChanged(state: ConnectionState): void;
        dataHoldersUpdated(dataHolders: DataHolder[]): void;
    }
    Index
    • Notifies the subscriber that the subscription connection state has changed. The subscriber won't be notified of data holder changes until the connection status changes to ConnectionState.CONNECTED. The subscriber will stop receiving data holder change notifications when the connection state changes to ConnectionState.DISCONNECTED.

      Parameters

      Returns void

    • Notifies the subscriber of a batch of data holder updates.

      Parameters

      • dataHolders: DataHolder[]

        The batch of updated data holders.

      Returns void