# IntentScope
Source: https://docs.maelstrom-ai.co/dev/reference/client/interfaces/intentscope/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

Defined in: [packages/client/src/lib/orchestrator/intent-scheduler.types.ts:74](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/intent-scheduler.types.ts#L74)

Owner lifetime, not cancellation: retiring never interrupts a dispatched turn.

## Methods

### enqueueIntent()

> **enqueueIntent**(`intent`): [`IntentSubmission`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/intentsubmission/)

Defined in: [packages/client/src/lib/orchestrator/intent-scheduler.types.ts:76](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/intent-scheduler.types.ts#L76)

Admit through the same FIFO as unscoped users.

#### Parameters

##### intent

`string`

#### Returns

[`IntentSubmission`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/intentsubmission/)

* * *

### retire()

> **retire**(): `void`

Defined in: [packages/client/src/lib/orchestrator/intent-scheduler.types.ts:78](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/intent-scheduler.types.ts#L78)

Idempotently retire only pending work; future submissions are refused.

#### Returns

`void`
