Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

BoolInteractionResult

Struct
📦 Aspire.Hosting v17.0.0

The result of a boolean interaction prompt.

type BoolInteractionResult struct {
Canceled bool `json:"Canceled"`
Value *bool `json:"Value"`
}

Fields

Canceledbool
Gets a value indicating whether the interaction was canceled by the user.
Value*booloptional
Gets the value returned from the interaction. Not meaningful when Canceled is true.