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
CancellationTokenOptional CancellationToken.
Returns
- object
Async enumerator.
HandleConnection(ActionExecutingContext)
Handle the action context and result from the action.
Task HandleConnection(ActionExecutingContext context)
Parameters
context
ActionExecutingContextActionExecutingContext to handle for.