@feathersjs/transport-commons
Version:
Shared functionality for websocket providers
16 lines (15 loc) • 584 B
TypeScript
import { RealTimeConnection } from '@feathersjs/feathers';
import { Channel } from './base';
export declare class CombinedChannel extends Channel {
children: Channel[];
mappings: WeakMap<RealTimeConnection, any>;
constructor(children: Channel[], data?: any);
refresh(): this & {
connections: RealTimeConnection[];
mappings: WeakMap<RealTimeConnection, any>;
};
leave(...connections: RealTimeConnection[]): this;
join(...connections: RealTimeConnection[]): this;
dataFor(connection: RealTimeConnection): any;
private callChildren;
}