SimpleMessageBusDb

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

Syntax

public class SimpleMessageBusDb : IndexedDbDatabase

Inheritance

Constructors

SimpleMessageBusDb

public SimpleMessageBusDb(IJSRuntime jsRuntime, IOptions<IndexedDbOptions> indexedDbOptions)

Parameters

Properties

Completed

public IndexedDbObjectStore Completed { get; set; }
Gets or sets the object store for successfully processed messages.

Returns

IndexedDbObjectStore

Failed

public IndexedDbObjectStore Failed { get; set; }
Gets or sets the object store for messages that failed processing.

Returns

IndexedDbObjectStore

Queue

public IndexedDbObjectStore Queue { get; set; }
Gets or sets the object store for messages pending processing.

Returns

IndexedDbObjectStore

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.