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

# PartyWorkMode

> Configuration modes representing how the Party library will manage an internal processing task.

Configuration modes representing how the Party library will manage an internal processing task.

## Syntax

```cpp theme={null}
enum class PartyWorkMode    
{  
    Automatic = 0,  
    Manual = 1,  
}  
```

## Constants

| Constant | Description |
| - | - |
| Automatic | The Party library will create internal threads to automatically handle the associated processing task.  This is the default, recommended option which encodes the Party library's best practices for processing its internal task. |
| Manual | The Party library will not create internal threads to handle the associated processing task, instead relying on the title to perform the task through calls to [PartyManager::DoWork()](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_dowork.md). |

## Remarks

For an overview of the processing tasks and their frequencies, see [PartyThreadId](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/enums/partythreadid.md).

## Requirements

**Header:** Party.h

## See also

[Party members](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/party_members.md)\
[PartyManager::SetWorkMode](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_setworkmode.md)\
[PartyManager::GetWorkMode](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_getworkmode.md)\
[PartyManager::DoWork](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_dowork.md)


## Related topics

- [PartyManager::SetWorkMode](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_setworkmode.md)
- [PartyManager::GetWorkMode](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_getworkmode.md)
- [PartyThreadId](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/enums/partythreadid.md)
- [PartyManager::DoWork](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_dowork.md)
- [Party C/C++ API overview](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/party_members.md)
