Options
All
  • Public
  • Public/Protected
  • All
Menu

The Service Manager controls the lifecycle of all Services in an App

Hierarchy

Index

Constructors

constructor

Properties

app

app: IApp

The App the AdvancedManager is attached to

config

config: ICONFIG

The Config of the App the AdvancedManager is attached to

emitter

emitter: EventEmitter

The EventEmitter of the App the AdvancedManager is attached to

map

map: Map<string, Service>

For backward compatability and performance reasons Manager use Map to store data

Accessors

length

  • get length(): number

size

  • get size(): number
  • Returns the total number of items stored in the Manager

    Returns number

Methods

[iterator]

  • [iterator](): IterableIterator<[string, Service]>

add

boot

clear

delete

  • delete(key: string): boolean
  • Removes a value stored in the Manager via a key, returns true if an element in the Map object existed and has been removed, or false if the element does not exist

    Parameters

    • key: string

    Returns boolean

entries

  • entries(): IterableIterator<[string, Service]>

forEach

get

getMap

has

  • has(key: string): boolean

init

keys

  • keys(): string[]

last

remove

set

stop

values

Generated using TypeDoc