> ## Documentation Index
> Fetch the complete documentation index at: https://v2galileo-feat-update-docs-main-30571363885.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# flushAll

***

# Function: flushAll()

```ts theme={null}
function flushAll(): Promise<void>;
```

Defined in: [src/singleton.ts](https://github.com/rungalileo/galileo-js/blob/main/src/singleton.ts)

Flushes (uploads) all captured traces to the Galileo platform.

## Returns

`Promise`\<`void`>

A promise that resolves when all loggers are flushed
