Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

InteractionInputLoadContext

Handle
📦 Aspire.Hosting v17.0.0

The context passed to a polyglot dynamic-loading callback. Exposes the loading input as a handle and provides read access to the other inputs in the prompt.

type InteractionInputLoadContext interface{}

Properties

propertyInputsInteractionInputCollectionget
Gets all inputs in the prompt, including the one currently loading.
Inputs() InteractionInputCollection

Methods

methodInput
Gets a handle to the input that is loading. Mutate the input through this handle.
Input() InteractionLoadingInput
InteractionLoadingInput

A handle to the loading input.

Returns a handle; failures surface later via Err().