UNPKG

node-universe

Version:

基于 Nodejs 环境的一款微服务框架,原理来自于宇宙中的恒星,行星,卫星等系统。

16 lines (15 loc) 388 B
import Context from '../../lib/context'; export interface TransitRequest { action?: any; nodeID?: string; ctx?: Context; resolve: (value: any) => void; reject: (reason: any) => void; stream?: boolean; } export interface StarTransitOptions { maxQueueSize?: number; disableReconnect?: boolean; disableVersionCheck?: boolean; maxChunkSize?: number; }