Table of Contents

Class NoOpGovernanceEmitter

Namespace
AsiBackbone.Core.Emissions
Assembly
AsiBackbone.Core.dll

Provider-neutral no-op governance emitter for tests, samples, local validation, and outbox proof-of-composition flows.

public sealed class NoOpGovernanceEmitter : IAsiBackboneGovernanceEmitter
Inheritance
NoOpGovernanceEmitter
Implements
Inherited Members

Remarks

This emitter does not send data to an external provider. It acknowledges the envelope as delivered so hosts can validate outbox drain behavior before wiring a real provider such as OpenTelemetry.

Fields

ProviderName

Gets the provider name used by the no-op emitter.

public const string ProviderName = "noop"

Field Value

string

Properties

Instance

Gets a reusable no-op governance emitter instance.

public static NoOpGovernanceEmitter Instance { get; }

Property Value

NoOpGovernanceEmitter

Methods

EmitAsync(GovernanceEmissionEnvelope, CancellationToken)

Emits a provider-neutral governance emission envelope.

public ValueTask<GovernanceEmissionResult> EmitAsync(GovernanceEmissionEnvelope envelope, CancellationToken cancellationToken = default)

Parameters

envelope GovernanceEmissionEnvelope

The provider-neutral envelope to emit.

cancellationToken CancellationToken

A cancellation token.

Returns

ValueTask<GovernanceEmissionResult>

The provider-neutral emission result.