Class: BaseService

Methods

addEventListener
(listenerType, callback)

Really only for shutdown right now. Simple array that gets looped through on shutdown.

Name Type Description
listenerType any
callback any

The callback to be invoked after the method completes successfully.

onBaseServiceReady
(func)

Name Type Description
func any

onDependenciesReady
()

Invokes a method passed in (or on) the object that inherits from the BaseService. In other words, the service instance will have its initialize function called, unless it's using old code, in which case we will have cached the callback earlier.

setOnline
()

Transmits the serviceOnline message that the rest of the dependency manager objects system are listening for.