mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-20 04:57:03 +00:00
@@ -18,9 +18,7 @@ import {
|
||||
share,
|
||||
take,
|
||||
takeUntil,
|
||||
tap,
|
||||
} from "rxjs";
|
||||
import { logger } from "matrix-js-sdk/lib/logger";
|
||||
|
||||
import { type Behavior } from "./Behavior";
|
||||
|
||||
@@ -158,17 +156,6 @@ export class ObservableScope {
|
||||
});
|
||||
}
|
||||
|
||||
public unTestedMethod$<T>(input$: Behavior<T>): Observable<T> {
|
||||
// This method is intentionally left untested.
|
||||
return input$.pipe(
|
||||
map((value) => value),
|
||||
distinctUntilChanged(),
|
||||
tap((value) => {
|
||||
logger.log(`Value changed: ${value}`);
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Splits a Behavior of objects with static properties into an object with
|
||||
* Behavior properties.
|
||||
|
||||
Reference in New Issue
Block a user