pause method
void
pause()
Pauses the event subscription for this worker.
Implementation
void pause() {
_subscription?.pause();
_isPaused = true;
}
Pauses the event subscription for this worker.
void pause() {
_subscription?.pause();
_isPaused = true;
}