2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2026-04-04 02:08:21 +00:00

AutoReconnect

This commit is contained in:
2022-08-11 21:28:41 +03:00
parent c9ead2dabd
commit 083ea92d3b
10 changed files with 407 additions and 271 deletions

View File

@@ -12,7 +12,7 @@ class AsyncQueue<T> extends AsyncReply<T?> {
_list.add(reply);
//super._resultReady = false;
super.setResultReady(false);
super.ready = false; // setResultReady(false);
reply.then(processQueue);
}
@@ -35,7 +35,7 @@ class AsyncQueue<T> extends AsyncReply<T?> {
break;
//super._resultReady = (_list.length == 0);
super.setResultReady(_list.length == 0);
super.ready = _list.length == 0; // .setResultReady(_list.length == 0);
}
AsyncQueue() {}