Interface IReactiveQubjectFactory<TInput, TOutput>
Interface for a subject factory.
Inherited Members
Namespace: Reaqtor
Assembly: Reaqtor.Expressions.Model.dll
Syntax
public interface IReactiveQubjectFactory<TInput, TOutput> : IReactiveSubjectFactory<TInput, TOutput>, IReactiveExpressible, IExpressible
Type Parameters
Name | Description |
---|---|
TInput | Type of the data received by the subjects created by the stream factory. |
TOutput | Type of the data produced by the subjects created by the stream factory. |
Methods
Create(Uri, Object)
Creates a new subject with the specified stream URI.
Declaration
IReactiveQubject<TInput, TOutput> Create(Uri streamUri, object state = null)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | streamUri | URI identifying the stream. |
System.Object | state | Additional metadata to associate with the artifact. Implementations can interpret this value, or ignore it. |
Returns
Type | Description |
---|---|
IReactiveQubject<TInput, TOutput> | A subject object that can be used to send and receive data on the stream, or an exception if the creation request was unsuccessful. |