MCPcopy
hub / github.com/Eugeny/tabby / subscribe

Method subscribe

tabby-core/src/components/base.component.ts:28–30  ·  view source on GitHub ↗
(observable: Observable<T>, handler: (v: T) => void)

Source from the content-addressed store, hash-verified

26 }
27
28 subscribe <T> (observable: Observable<T>, handler: (v: T) => void): void {
29 this.subscriptions.push(observable.subscribe(handler))
30 }
31
32 cancelAll (): void {
33 for (const s of this.subscriptions) {

Callers 15

getItemsMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorFunction · 0.45
constructorMethod · 0.45
attachTabViewMethod · 0.45
constructorMethod · 0.45
createMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
addTabRawMethod · 0.45

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected