Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FeedEmitter

Hierarchy

  • TinyEmitter
    • FeedEmitter

Index

Constructors

Methods

Constructors

constructor

Methods

add

destroy

  • destroy(): void

emit

  • emit(event: string, ...args: any[]): this
  • Parameters

    • event: string
    • Rest ...args: any[]

    Returns this

get

list

off

  • off(event: string, callback?: Function): this
  • Parameters

    • event: string
    • Optional callback: Function

    Returns this

on

  • on(event: string, callback: Function, ctx?: any): this
  • Parameters

    • event: string
    • callback: Function
    • Optional ctx: any

    Returns this

once

  • once(event: string, callback: Function, ctx?: any): this
  • Parameters

    • event: string
    • callback: Function
    • Optional ctx: any

    Returns this

remove

  • remove(url: string): void
  • Remove a feed from the feed list

    Parameters

    • url: string

    Returns void

Generated using TypeDoc