mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 17:15:03 -07:00
better unsubscribe, startup stagger
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
import { Subject } from 'rxjs';
|
||||
|
||||
export class EasyUnsubscribe {
|
||||
protected easyUnsubscribe = new Subject<void>();
|
||||
|
||||
public destroy(): void {
|
||||
this.easyUnsubscribe.next();
|
||||
this.easyUnsubscribe.complete();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user