fetchNodeConfig method
Streams a FetchNodeConfigRes object with the node config.
options
is an CallOptions
for runtime options with RPC
Implementation
Stream<FetchNodeConfigRes> fetchNodeConfig({
CallOptions? options,
}) async* {
final FetchNodeConfigReq request = FetchNodeConfigReq();
final Stream<FetchNodeConfigRes> stream = nodeStub.fetchNodeConfig(
request,
options: options,
);
await for (final FetchNodeConfigRes response in stream) {
yield response;
}
}