Skip to content

Interface IDataProduct

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Exposes a module-owned queryable data product.

public interface IDataProduct<T>

T

The result shape returned by the data product.

Queries the current value of the data product.

ValueTask<T> QueryAsync(CancellationToken cancellationToken = default)

cancellationToken CancellationToken

The token that cancels the operation.

ValueTask<T>

A task that completes with the current data product value.