waitData method
void
waitData({
- required void timeoutCallback(),
- Duration duration = const Duration(seconds: 20),
Implementation
void waitData({
required void Function() timeoutCallback,
Duration duration = const Duration(seconds: 20),
}) {
_responseGuard.start(duration, timeoutCallback);
}