interface · Browser and Node

# MeshOutboxStore

`@toip-tools/mesh-transport` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mesh-transport/src/mesh.ts#L50)

Import:

```ts
import { type MeshOutboxStore } from "@toip-tools/mesh-transport";
```

## Declaration

interface:

```ts
interface MeshOutboxStore {
  load(): Promise<MeshOutboxItem[]>;
  save(items: MeshOutboxItem[]): Promise<void>;
}
```

## Methods

### `load`

Signature:

```ts
load(): Promise<MeshOutboxItem[]>;
```

No parameters.

#### Returns

`Promise<MeshOutboxItem[]>`

### `save`

Signature:

```ts
save(items: MeshOutboxItem[]): Promise<void>;
```

#### Parameters

- **`items` (required)**: `MeshOutboxItem[]`

#### Returns

`Promise<void>`

[Usage guide](https://toip.tools/toolkit/mesh-transport/#usage) · [Error handling](https://toip.tools/toolkit/mesh-transport/#errors) · [All exports](https://toip.tools/toolkit/mesh-transport/api/)

---

This is the Markdown version of https://toip.tools/toolkit/mesh-transport/api/MeshOutboxStore/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
