singleResponseFutureWithoutTimeout<R> function
Same as singleResponseFuture, but without timeout
,
this allows us not to require a nullable return value
Implementation
Future<R> singleResponseFutureWithoutTimeout<R>(
void Function(SendPort responsePort) action) =>
singleResponseFutureWithTimeout<R?>(action, timeoutValue: null)
.then((value) => value as R);