Table of Contents

Namespace Signal.Application.Background

Classes

BackgroundWork

The context of queued background work: its own DI scope, the conversation it was queued from and a shutdown token.

BackgroundWorkExtensions

Queues background work from a message.

BackgroundWorkItem

Work queued by IBackgroundWorkQueue.

PromptResult<T>

The outcome of PromptAsync<T>(string, TimeSpan?, int).

Interfaces

IBackgroundWorkProcessor

Runs queued background work; hosted by AddSignal. Replace it to process work elsewhere.

IBackgroundWorkQueue

Runs work outside the conversation partition that received a message, so a slow command does not hold up the messages after it. Items run concurrently (MaxConcurrency), each in its own DI scope.

IPromptRegistry

Pending prompts waiting for a sender's next message. The host passes every received envelope to TryDeliver(IncomingEnvelope) before routing it to a conversation partition, so an answer never waits behind the work that asked for it.

Enums

PromptStatus

How a prompt ended.