HostedServiceLifecycleMode
Controls how IHostedService lifecycle is handled during a run.
- Kind:
Enum - Namespace: Repl
- Assembly:
Repl.Defaults - Source: src/Repl.Defaults/HostedServiceLifecycleMode.cs
Signature
Section titled “Signature”public enum HostedServiceLifecycleModeFields
Section titled “Fields”Repl runs as a component inside an existing host. Lifecycle is managed by the host. Alias of None kept for readability in hosted scenarios.
Guest = 0Returns
Section titled “Returns”Repl orchestrates hosted-service start/stop around command execution.
Head = 1Returns
Section titled “Returns”Repl does not orchestrate hosted-service lifecycle.
None = 0