Mirror: 🎩 A tiny but capable push & pull stream library for TypeScript and Flow
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove redundant condition in share

+1 -1
+1 -1
src/operators.ts
··· 498 498 const index = sinks.indexOf(sink); 499 499 if (index > -1) sinks.splice(index, 1); 500 500 if (!sinks.length) talkback(TalkbackKind.Close); 501 - } else if (signal === TalkbackKind.Pull && !gotSignal) { 501 + } else if (!gotSignal) { 502 502 gotSignal = true; 503 503 talkback(TalkbackKind.Pull); 504 504 }