terminated
Sets the callback invoked when the service has terminated.
Parameters
block
the callback to invoke, receiving the Service.State the service was in before termination.
Sets the callback invoked when the service has terminated.
the callback to invoke, receiving the Service.State the service was in before termination.