public enum RunicOperationRetirement What happens to a running operation when the navigation entry whose content started it retires. Declare it with RunicOperationRetirementAttribute.
Remarks
It applies to operations, the asynchronous commands that a generated client starts with start…, of content that a RunicNavigator owns (an Own, Create or Share target) and of the ViewModels presented under that content when the operation started. Retiring is final: Back, Replace, Reset or Clear removed the entry. A retained entry, one that a push covers, keeps its operations whatever the policy. Borrowed content is never retired by the navigator, so the policy has no effect there.
This set is closed: it gains values only in a major release.
Values
Keep
Keep = 0 The operation keeps running after the entry retired, and the navigator disposes the content at once. Its status stays observable from the Window, like any operation. The default.
Cancel
Cancel = 1 The operation's cancellation token is cancelled when the entry retires, as by the client's cancel(), and the navigator disposes the content, its entry scope and its model-context lease only after the operation has ended. An operation that completes despite the request still succeeds.
Drain
Drain = 2 The operation keeps running after the entry retired, and the navigator disposes the content, its entry scope and its model-context lease only after the operation has ended.