Skip to content

Module: traits::Application

Jovan Gerodetti edited this page Apr 14, 2021 · 3 revisions

Application

exported: default
kind: object
declaration: const

Properties

emmit

Type: Function
kind: value

on

Type: Function
kind: value

name

Type: string
kind: value

Name of the application, other components can identify it.

version

Type: string
kind: value

The current version of the application.

init

Type: Function
kind: value

Initializes the application when bootstrapping.

Methods

terminate(reason) => {undefined}

Type: Function
kind: function

Emits a termination notice on the object. This is intended to notify sub components about the termination of the application.

Name Type Description
reason string

Clone this wiki locally