> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IGameInputDispatcher::Dispatch

> IGameInputDispatcher::Dispatch

# IGameInputDispatcher::Dispatch

디스패처의 큐에 있는 작업을 실행합니다.

## 구문

```cpp theme={null}
bool Dispatch(
    uint64_t quotaInMicroseconds
);
```

### 매개변수

*quotaInMicroseconds*   \_In\_\
형식: uint64\_t

디스패처가 작업을 실행하는 데 걸리는 시간입니다. 디스패처는 제공된 시간 내에 처리 시간을 유지하려고 시도하지만, 이는 보장된 제한이 아닙니다.

### 반환값

형식: bool

디스패처의 큐에 처리 대기 중인 작업 항목이 있으면 true를 반환합니다. 남은 작업 항목이 없으면 false를 반환합니다. 큐가 비워지는 시점에 반환됩니다.

## 설명

`IGameInputDispatcher::Dispatch`는 디스패처의 큐에 있는 작업을 실행합니다. 이 메서드는 `quotaInMicroseconds` 매개변수가 0으로 설정되어 있어도 큐에서 최소 하나의 항목을 비웁니다. 할당 시간을 0으로 지정해 단일 항목을 실행한 다음, 경과 시간에 따라 더 많은 항목을 디스패치할지 여부를 결정할 수 있습니다. GameInput API의 중급 및 고급 사용 사례는 [고급 GameInput 항목](/build/core-features/common/input/advanced/input-advanced-topics)을 참조하세요.

## 요구 사항

**헤더:** GameInput.h

**라이브러리:** xgameruntime.lib

**지원되는 플랫폼:** Windows, XBOX One 계열 콘솔 및 XBOX Series 콘솔

## 함께 보기

[GameInput 개요](/build/core-features/common/input/overviews/input-overview)\
[IGameInputDispatcher](/reference/input/gameinput/interfaces/IGameInputDispatcher/igameinputdispatcher)

## 버전 기록

| 버전     | 변경 사항 |
| ------ | ----- |
| **v0** | 도입됨.  |


## Related topics

- [IGameInput::CreateDispatcher](/ko/reference/input/gameinput/interfaces/igameinput/methods/igameinput_createdispatcher.md)
- [IGameInputDispatcher::OpenWaitHandle](/ko/reference/input/gameinput/interfaces/IGameInputDispatcher/methods/igameinputdispatcher_openwaithandle.md)
- [GameInput](/ko/reference/input/gameinput/gameinput_members.md)
- [GameInput 작업 큐](/ko/build/core-features/common/input/advanced/input-work-queues.md)
- [Dispatch](/ko/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_dispatch_public.md)
