Skip to main content

Definition

Assembly: CloudNimble.SimpleMessageBus.IndexedDb.Core.dll Namespace: CloudNimble.SimpleMessageBus.IndexedDb.Core Inheritance: CloudNimble.BlazorEssentials.IndexedDb.IndexedDbDatabase

Syntax

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

.ctor

Syntax

public SimpleMessageBusDb(Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.Extensions.Options.IOptions<CloudNimble.SimpleMessageBus.IndexedDb.Core.IndexedDbOptions> indexedDbOptions)

Parameters

NameTypeDescription
jsRuntimeMicrosoft.JSInterop.IJSRuntime-
indexedDbOptionsMicrosoft.Extensions.Options.IOptions<CloudNimble.SimpleMessageBus.IndexedDb.Core.IndexedDbOptions>-

Properties

Completed

Gets or sets the object store for successfully processed messages.

Syntax

public CloudNimble.BlazorEssentials.IndexedDb.IndexedDbObjectStore Completed { get; set; }

Property Value

Type: CloudNimble.BlazorEssentials.IndexedDb.IndexedDbObjectStore

Failed

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

Syntax

public CloudNimble.BlazorEssentials.IndexedDb.IndexedDbObjectStore Failed { get; set; }

Property Value

Type: CloudNimble.BlazorEssentials.IndexedDb.IndexedDbObjectStore

Queue

Gets or sets the object store for messages pending processing.

Syntax

public CloudNimble.BlazorEssentials.IndexedDb.IndexedDbObjectStore Queue { get; set; }

Property Value

Type: CloudNimble.BlazorEssentials.IndexedDb.IndexedDbObjectStore