dispose method
void
dispose()
Dispose this app task controller.
No further app tasks can be enqueued to a closed controller.
Implementation
void dispose() {
_garbageCollector?.cancel();
_controller.close();
}
Dispose this app task controller.
No further app tasks can be enqueued to a closed controller.
void dispose() {
_garbageCollector?.cancel();
_controller.close();
}