Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultStream

Hierarchy

  • DefaultStream

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Parameters

    • id: string
    • registrationMessage: OutboundMessage
    • onMessage: OnStreamMessage
    • streamExists: (id: string) => boolean
        • (id: string): boolean
        • Parameters

          • id: string

          Returns boolean

    • unregisterStream: (id: string) => Promise<void>
        • (id: string): Promise<void>
        • Parameters

          • id: string

          Returns Promise<void>

    • socket: Socket
    • debug: IDebugger

    Returns DefaultStream

Properties

Readonly id

id: string

Optional onPostRestart

onPostRestart: OnStreamRestart

Accessors

onMessage

Methods

close

  • close(options?: { error?: Error }): Promise<void>

currentActiveMarker

join

  • join(): Promise<void>

mark

restart

start

  • start(): Promise<void>

Generated using TypeDoc