Event ServiceApp()stop() Foundation

This callback is executed when the service receives the Stop control request.

Syntax
:stop := { || ... }
:stop() --> self
Return

The class method :stop() returns the class object.

Description

This callback is executed when a Stop request is sent to the service by an application that controls the service. When this callback is called the service's state changes to Stopped. A programmer must ensure appropriate program logic that terminates the class method/procedure main when the :stop() callback is executed.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.