UNPKG

@omneedia/socketcluster

Version:

SocketCluster - A Highly parallelized WebSocket server cluster to make the most of multi-core machines/instances.

9 lines (7 loc) 282 B
import { OperatorFunction } from '../interfaces'; import { Observable } from '../Observable'; import { switchMap } from './switchMap'; import { identity } from '../util/identity'; export function switchAll<T>(): OperatorFunction<Observable<T>, T> { return switchMap(identity); }