Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Hookable

Hierarchy

  • Hookable

Index

Properties

allowImplicitCreation

allowImplicitCreation: boolean = true

hooks

hooks: Map<string, Hook> = new Map()

Methods

create

  • create<T>(name: string): Hook<T>

get

  • get(name: string): Hook<any>

has

  • has(name: string): boolean

notify

  • notify<T>(name: string, arg?: T): Promise<void>

subscribe

unsubscribe

Generated using TypeDoc