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

# ChaosReorderOptions

> Interface exported by @botmesh/core/testing.

Defined in: [testing/chaos.ts:143](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L143)

Out-of-order delivery within a sliding window.

## Properties

### window

```ts theme={null}
window: number;
```

Defined in: [testing/chaos.ts:145](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L145)

Events held and permuted together. Integer `>= 2`.

***

### maxHoldMs?

```ts theme={null}
maxHoldMs?: number;
```

Defined in: [testing/chaos.ts:147](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L147)

A partially filled window is flushed after this many ms. Default `5`.

***

### strategy?

```ts theme={null}
strategy?: "reverse" | "shuffle";
```

Defined in: [testing/chaos.ts:149](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L149)

`'shuffle'` (seeded Fisher–Yates, default) or `'reverse'` (deterministic worst case).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.