UNPKG

@omneedia/socketcluster

Version:

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

10 lines (5 loc) 294 B
import { Observable } from './Observable'; export type UnaryFunction<T, R> = (source: T) => R; export type OperatorFunction<T, R> = UnaryFunction<Observable<T>, Observable<R>>; export type FactoryOrValue<T> = T | (() => T); export type MonoTypeOperatorFunction<T> = OperatorFunction<T, T>;