PlaceholderResumePolicy
Namespace: Hex1b
Assembly: Hex1b.dll
Controls what happens when the primary workload disconnects after having been active.
csharp
[Experimental("HEX1B002", UrlFormat = "https://github.com/hex1b/hex1b/blob/main/docs/experimental/placeholder.md")]
public enum PlaceholderResumePolicyFields
OnDisconnect
Swap back to the placeholder workload and keep the terminal alive. Suits scenarios where the primary may reconnect (e.g. an HMP1 producer is restarted, or a UDS path is re-bound).
Returns: PlaceholderResumePolicy
csharp
OnDisconnect = 0OneShot
Treat primary disconnect as terminal disconnect — surface upstream and stop. Matches the pre-placeholder behaviour of bare HMP1 / PTY workloads.
Returns: PlaceholderResumePolicy
csharp
OneShot = 1