domino.capsule
Provides convenient onStart and onStop methods which the end user can use for ad-hoc adding start and stop logic to the current scope.
onStart
onStop
Adds the given start logic.
Adds the given start logic. The logic is executed immediately.
start logic
Adds the given stop logic.
Adds the given stop logic. The given function will be executed when the current scope is stopped.
stop logic
Provides convenient
onStart
andonStop
methods which the end user can use for ad-hoc adding start and stop logic to the current scope.