UNPKG

@fraserdarwent/xapi-node

Version:

This project is made possible to get data from Forex market, execute market or limit order with NodeJS/JS through WebSocket connection

16 lines (15 loc) 517 B
export declare class ListenerChild { private listener; private readonly listenerId; private readonly key; constructor(listener: Listener, listenerId: string, key: string); stopListen(): void; } export declare class Listener { constructor(); private _listeners; get listeners(): any; remove(listenerId: string, key: string): void; addListener(listenerId: string, callBack: any, key?: string | null): ListenerChild; callListener(listenerId: string, params?: any[]): any[]; }