Table of Contents

Interface IClientObservable

Namespace
Cratis.Applications.Queries
Assembly
Cratis.Applications.dll

Defines an observable that is observed by a connected client.

public interface IClientObservable

Methods

GetAsynchronousEnumerator(CancellationToken)

Get an async enumerator for the observable.

object GetAsynchronousEnumerator(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Optional CancellationToken.

Returns

object

Async enumerator.

HandleConnection(ActionExecutingContext)

Handle the action context and result from the action.

Task HandleConnection(ActionExecutingContext context)

Parameters

context ActionExecutingContext

ActionExecutingContext to handle for.

Returns

Task

A Task representing the asynchronous operation.