submit method
void
submit(
- T value
Implementation
void submit(T value) {
if (_disposers.isDisposed) {
_logger.w('LatestExecutor already disposed!');
return;
}
if (_working == null) {
_working = Completer();
_next = value;
_process();
} else {
_next = value;
}
}