Process.DidTerminateMessage
A message the system sends when a task stops operation.
Declaration
struct DidTerminateMessageOverview
Observe this message with the identifier didTerminate, or specify its type directly to the addObserver(of:for:using:) method. The Subject of this message type is Process.
This message interoperates with the notification didTerminateNotification. The system notifies observers of the message when the NotificationCenter posts the notification. Similarly, the system notifies observers of the notification when it posts the message.