/** * 事件key */ export enum EventKey { QuotePushNotify, // 行情推送通知 QuoteServerReconnectNotify, // 行情服务重连成功通知 LoginNotify, // 用户登入通知 LogoutNotify, // 用户登出通知 MoneyChangedNotify, // 资金变动通知 } /** * 事件消息 */ export interface EventMessage { keys: (keyof typeof EventKey)[]; callback: (data: unknown) => void; }