Interface: Concern

Concern

Concern interface represents a unit of work or some aspect of the application.

Source:

Methods

onPause() → {Promise|null}

onPause is called when the Concern is to be paused.

Source:
Returns:
Type
Promise | null

onResume() → {Promise|null}

onResume is called when the Concern is to resume operations.

Source:
Returns:
Type
Promise | null

onStart() → {Promise|null}

onStart is called when the Concern is started for the first time.

Source:
Returns:
Type
Promise | null

onStop() → {Promise|null}

onStop is called when the Concern has been stopped.

Source:
Returns:
Type
Promise | null

receive(message, sender)

receive a message from a sender

Parameters:
Name Type Description
message *
sender Concern
Source: