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

# getReceivedPackets

> Reassemble buffered chunks and return a map of clientId =&gt; complete packets. Partial packets are retained internally for the next call so callers may repeatedly poll this method to consume newly arrived data.

import { PageLink } from '/snippets/tsdocs/PageLink.jsx';
import { RefLink } from '/snippets/tsdocs/RefLink.jsx';

# getReceivedPackets

## Summary

Reassemble buffered chunks and return a map of clientId = complete packets. Partial packets are retained internally for the next call so callers may repeatedly poll this method to consume newly arrived data.

## Signature

```typescript theme={null}
getReceivedPackets(): Map<number, Uint8Array[]>;
```

## Parameters

*No parameters.*

## Returns

**Type**:`Map<number, Uint8Array[]>`

Reassemble buffered chunks and return a map of clientId = complete packets. Partial packets are retained internally for the next call so callers may repeatedly poll this method to consume newly arrived data.
