cancel method
void
cancel()
Stops listening. Calling this more than once is safe.
Implementation
void cancel() {
if (_isCanceled) return;
_isCanceled = true;
_signal.removeObserver(this);
}
Stops listening. Calling this more than once is safe.
void cancel() {
if (_isCanceled) return;
_isCanceled = true;
_signal.removeObserver(this);
}