Skip to content

Class PacketEmitter

🏭 Constructors

constructor

ts
new PacketEmitter(eventBus: EventEmitter): PacketEmitter

Parameters

  • eventBus: EventEmitter

Return Type

  • PacketEmitter

Defined in: packages/client/channel.ts:282

🏷️ Properties

eventBus private

ts
eventBus: EventEmitter

Defined in: packages/client/channel.ts:282

🔧 Methods

_write

ts
_write(inst: any, encoding: string, callback: Function): void

Parameters

  • inst: any
  • encoding: string
  • callback: Function

Return Type

  • void

Defined in: packages/client/channel.ts:286