Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

InputInteractionResult

Struct
📦 Aspire.Hosting v17.0.0

The result of a single-input interaction prompt.

type InputInteractionResult struct {
Canceled bool `json:"Canceled"`
Input *InteractionInput `json:"Input"`
}

Fields

Canceledbool
Gets a value indicating whether the interaction was canceled by the user.
Input*InteractionInputoptional
Gets the input returned from the interaction. Not present when Canceled is true.