# InteractionLoadingInput

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

A handle to the input currently being loaded by a dynamic-loading callback. Mirrors the native `LoadInputContext.Input` by letting callbacks update the live input directly.

## Remarks

The handle owns the live `InteractionInput` for the duration of the load callback. Setters are routed
back to the server-side input across the ATS boundary, which is why this is a handle rather than the by-value
`InteractionInput` DTO.

## Definition

```go
type InteractionLoadingInput interface{}
```

## Methods

- [GetName](/reference/api/go/aspire.hosting/interactionloadinginput/getname.md) -- `method` -- Gets the name of the input.
  ```go
  GetName() (string, error)
  ```
- [SetChoiceOptions](/reference/api/go/aspire.hosting/interactionloadinginput/setchoiceoptions.md) -- `method` -- Sets the choice options for the input.
  ```go
  SetChoiceOptions(choices []*InteractionChoiceOption) error
  ```
- [SetValue](/reference/api/go/aspire.hosting/interactionloadinginput/setvalue.md) -- `method` -- Sets the value of the input.
  ```go
  SetValue(value string) error
  ```
