Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @okikio/emitter

Index

References

default

Renames and re-exports EventEmitter

Type aliases

TypeEventInput

TypeEventInput: string | object | string[]

The types of values EventEmitter.prototype.on(...), EventEmitter.prototype.once(...), and EventEmitter.prototype.off(...) accept

TypeListenerCallback

TypeListenerCallback: (...args: any) => void

Type declaration

    • (...args: any): void
    • Represents a listener callback function

      Parameters

      • Rest ...args: any

      Returns void

Functions

Const isObject

  • isObject(obj: any): boolean
  • Determines whether value is an pure object (not array, not function, etc...)

    Parameters

    • obj: any

    Returns boolean

Const newListener

  • Creates a new listener based on IListener

    Parameters

    Returns IListener

Generated using TypeDoc