callSingleWithLazyPayload method
Future<Result>
callSingleWithLazyPayload(
- String procedure, {
- required LazyMessagePayload payload,
- CallOptions? options,
- Completer<
String> ? cancelCompleter,
This calls a procedure with a LazyMessagePayload and waits for the
final non-progressive Result.
Implementation
Future<Result> callSingleWithLazyPayload(
String procedure, {
required LazyMessagePayload payload,
CallOptions? options,
Completer<String>? cancelCompleter,
}) async {
final result = await callSingleLazyPayloadView(
procedure,
payload: payload,
options: options,
cancelCompleter: cancelCompleter,
);
return resultFromLazyPayload(result);
}