interface FundingSourceChangeSubscriber {
    connectionStatusChanged?(state): void;
    fundingSourceChanged(fundingSource): Promise<void>;
}

Methods

  • Notifies the subscriber that the subscription connection state has changed. The subscriber won't be notified of funding source changes until the connection status changes to [ConnectionState.CONNECTED]. The subscriber will stop receiving funding source change notifications when the connection state changes to [ConnectionState.DISCONNECTED].

    Parameters

    Returns void

  • Notifies the subscriber that the funding source has changed.

    Parameters

    Returns Promise<void>