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

# SimpleMessageBusDb

> Represents the IndexedDB database structure for SimpleMessageBus in Blazor WebAssembly applications.

## Definition

**Assembly:** CloudNimble.SimpleMessageBus.IndexedDb.Core.dll

**Namespace:** CloudNimble.SimpleMessageBus.IndexedDb.Core

**Inheritance:** CloudNimble.BlazorEssentials.IndexedDb.IndexedDbDatabase

## Syntax

```csharp theme={"dark"}
CloudNimble.SimpleMessageBus.IndexedDb.Core.SimpleMessageBusDb
```

## Summary

Represents the IndexedDB database structure for SimpleMessageBus in Blazor WebAssembly applications.

## Remarks

This class defines the IndexedDB schema used for client-side message queuing in Blazor WebAssembly.
It provides three object stores for managing message lifecycle: Queue (pending), Completed (successful),
and Failed (error) processing states.

## Constructors

### &#x20;.ctor

#### Syntax

```csharp theme={"dark"}
public SimpleMessageBusDb(Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.Extensions.Options.IOptions<CloudNimble.SimpleMessageBus.IndexedDb.Core.IndexedDbOptions> indexedDbOptions)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `jsRuntime` | `Microsoft.JSInterop.IJSRuntime` | - |
| `indexedDbOptions` | `Microsoft.Extensions.Options.IOptions<CloudNimble.SimpleMessageBus.IndexedDb.Core.IndexedDbOptions>` | - |

## Properties

### &#x20;Completed

Gets or sets the object store for successfully processed messages.

#### Syntax

```csharp theme={"dark"}
public CloudNimble.BlazorEssentials.IndexedDb.IndexedDbObjectStore Completed { get; set; }
```

#### Property Value

Type: `CloudNimble.BlazorEssentials.IndexedDb.IndexedDbObjectStore`

### &#x20;Failed

Gets or sets the object store for messages that failed processing.

#### Syntax

```csharp theme={"dark"}
public CloudNimble.BlazorEssentials.IndexedDb.IndexedDbObjectStore Failed { get; set; }
```

#### Property Value

Type: `CloudNimble.BlazorEssentials.IndexedDb.IndexedDbObjectStore`

### &#x20;Queue

Gets or sets the object store for messages pending processing.

#### Syntax

```csharp theme={"dark"}
public CloudNimble.BlazorEssentials.IndexedDb.IndexedDbObjectStore Queue { get; set; }
```

#### Property Value

Type: `CloudNimble.BlazorEssentials.IndexedDb.IndexedDbObjectStore`


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