UNPKG

@nexex/orderbook

Version:
13 lines (12 loc) 456 B
/// <reference types="node" /> import { OrderbookEvent, UpdateOrderTask } from '@nexex/types'; import { Subject } from 'rxjs'; import { ObConfig } from '../global/global.model'; export declare class ZeromqTaskGateway { private events$; private config; private sock; constructor(events$: Subject<OrderbookEvent>, config: ObConfig); handleInbound(topic: Buffer, message: Buffer): void; dispatchTask(payload: UpdateOrderTask): void; }