UNPKG

@omneedia/socketcluster

Version:

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

4 lines (3 loc) 283 B
import { MonoTypeOperatorFunction } from '../interfaces'; export declare function distinctUntilKeyChanged<T>(key: string): MonoTypeOperatorFunction<T>; export declare function distinctUntilKeyChanged<T, K>(key: string, compare: (x: K, y: K) => boolean): MonoTypeOperatorFunction<T>;