@digitalasset/daml-ledger
Version:
DAML Ledger API Node.js bindings
13 lines (12 loc) • 575 B
TypeScript
import { ClientReadableObjectStream } from "../call/ClientReadableObjectStream";
import { GetLedgerConfigurationResponse } from "../model/GetLedgerConfigurationResponse";
/**
* LedgerConfigurationService allows clients to subscribe to changes of
* the ledger configuration.
*/
export interface LedgerConfigurationClient {
/**
* GetLedgerConfiguration returns the latest configuration as the first response, and publishes configuration updates in the same stream.
*/
getLedgerConfiguration(): ClientReadableObjectStream<GetLedgerConfigurationResponse>;
}