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
(capsuleConvenience: StringAdd).self
(capsuleConvenience: StringFormat).self
(capsuleConvenience: ArrowAssoc[CapsuleConvenience]).x
(Since version 2.10.0) Use leftOfArrow
instead
(capsuleConvenience: Ensuring[CapsuleConvenience]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Provides convenient
onStart
andonStop
methods which the end user can use for ad-hoc adding start and stop logic to the current scope.