This commit is contained in:
Dimitris Apostolou
2023-02-26 02:09:54 +01:00
committed by GitHub
parent 1bdab7394a
commit 9e616ea3a9
19 changed files with 58 additions and 58 deletions

View File

@@ -5,7 +5,7 @@ import { pick } from 'underscore';
export function on$(node, cleanup = true): Observable<any> {
return Observable.fromEventPattern(
h => {
// there is no way to off() an on() until at least one value is trigerred
// there is no way to off() an on() until at least one value is triggered
// so that we can access the event listener to off() it
const signal = { stop: false };
node.on((data, key, at, ev) => {