# Type Alias: Interaction

```ts
type Interaction = object;
```

Defined in: [src/types.ts:77](https://github.com/giladgd/ipa-hub/blob/master/src/types.ts#L77)

## Properties

### onProgress? {#onprogress}

```ts
onProgress?: (progress) => void;
```

Defined in: [src/types.ts:81](https://github.com/giladgd/ipa-hub/blob/master/src/types.ts#L81)

Receives download, signing, installation and launch progress.

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `progress` | [`Progress`](https://ipa-hub.giladgd.com/docs/api/type-aliases/Progress.md) |

#### Returns

`void`

***

### select? {#select}

```ts
select?: (selection) => Promise<string>;
```

Defined in: [src/types.ts:84](https://github.com/giladgd/ipa-hub/blob/master/src/types.ts#L84)

Return a choice ID. Without this callback, ambiguous choices throw SelectionRequired.

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `selection` | [`Selection`](https://ipa-hub.giladgd.com/docs/api/type-aliases/Selection.md) |

#### Returns

[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`string`\>

***

### signal? {#signal}

```ts
signal?: AbortSignal;
```

Defined in: [src/types.ts:79](https://github.com/giladgd/ipa-hub/blob/master/src/types.ts#L79)

Cancels source requests and downloads; signing and device installation finish once started.

