Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BufferPushScheduler

Hierarchy

  • BufferPushScheduler

Index

Constructors

constructor

Properties

app

flushInterval

flushInterval: number

sessions

sessions: object

Type declaration

tid

tid: Timer = null

Methods

doBatchPush

  • doBatchPush(msg: any, recvs: SID[]): void

doBroadcast

enqueue

  • enqueue(session: Session, msg: any): void

flush

  • flush(): void

onClose

schedule

  • schedule(reqId: number, route: string, msg: any, recvs: SID[], opts: ScheduleOptions, cb: function): void

start

  • start(): Promise<void>

stop

  • stop(): Promise<void>