Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Methods

Methods

  • emit<T>(name: string | string[], target: number | "global", args?: NoFunction<T>[]): Promise<any>
  • listen(name: string | string[], handler: (source: number, ...args: any) => any): number[]
  • description

    Listen from a Client event

    Parameters

    • name: string | string[]
    • handler: (source: number, ...args: any) => any
        • (source: number, ...args: any): any
        • Parameters

          • source: number
          • Rest ...args: any

          Returns any

    Returns number[]

Generated using TypeDoc