Show / Hide Table of Contents

Interface IReactiveObserverDefinition

Interface representing an observer definition in a reactive processing service.

Inherited Members
IReactiveDefinedResource.IsParameterized
IReactiveDefinedResource.State
IReactiveDefinedResource.DefinitionTime
IKnownResource.Uri
IExpressible.Expression
Namespace: Reaqtor.Metadata
Assembly: Reaqtor.Metadata.Model.dll
Syntax
public interface IReactiveObserverDefinition : IReactiveDefinedResource, IReactiveResource, IKnownResource, IExpressible

Methods

ToObserver<T>()

Gets the observer defined by the definition.

Declaration
IReactiveQbserver<T> ToObserver<T>()
Returns
Type Description
IReactiveQbserver<T>

Representation of the observer defined by the definition.

Type Parameters
Name Description
T

Type of the data received by the observer.

Remarks

This method can be used in isolation from the client library. It's allowed to return an object that encapsulates the definition using an expression tree, to be used for composition and delegation to other systems. The object does not have to provide data operations, as is expected from the client library proxy objects.

ToObserver<TArgs, TResult>()

Gets the parameterized observer defined by the definition.

Declaration
Func<TArgs, IReactiveQbserver<TResult>> ToObserver<TArgs, TResult>()
Returns
Type Description
System.Func<TArgs, IReactiveQbserver<TResult>>

Representation of the parameterized observer defined by the definition.

Type Parameters
Name Description
TArgs

Type of the parameter passed to the observer.

TResult

Type of the data received by the observer.

Remarks

This method can be used in isolation from the client library. It's allowed to return an object that encapsulates the definition using an expression tree, to be used for composition and delegation to other systems. The object does not have to provide data operations, as is expected from the client library proxy objects.

Extension Methods

EntityMetricsTracker.GetMetrics(IReactiveResource)
In This Article
Back to top Generated by DocFX