Class RunnableGraph<TMat>
A completed Akka.Streams graph that can be executed.
Inherited Members
Namespace: Akka.Streams.Dsl
Assembly: Akka.Streams.dll
Syntax
public sealed class RunnableGraph<TMat> : IRunnableGraph<TMat>, IGraph<ClosedShape, TMat>, IGraph<ClosedShape>
Type Parameters
Name | Description |
---|---|
TMat | The type of materialized value. |
Constructors
| Improve this Doc View SourceRunnableGraph(IModule)
TBD
Declaration
public RunnableGraph(IModule module)
Parameters
Type | Name | Description |
---|---|---|
IModule | module | TBD |
Properties
| Improve this Doc View SourceModule
TBD
Declaration
public IModule Module { get; }
Property Value
Type | Description |
---|---|
IModule |
Shape
TBD
Declaration
public ClosedShape Shape { get; }
Property Value
Type | Description |
---|---|
ClosedShape |
Methods
| Improve this Doc View SourceAddAttributes(Attributes)
TBD
Declaration
public IRunnableGraph<TMat> AddAttributes(Attributes attributes)
Parameters
Type | Name | Description |
---|---|---|
Attributes | attributes | TBD |
Returns
Type | Description |
---|---|
IRunnableGraph<TMat> | TBD |
Async()
TBD
Declaration
public IRunnableGraph<TMat> Async()
Returns
Type | Description |
---|---|
IRunnableGraph<TMat> | TBD |
MapMaterializedValue<TMat2>(Func<TMat, TMat2>)
TBD
Declaration
public IRunnableGraph<TMat2> MapMaterializedValue<TMat2>(Func<TMat, TMat2> func)
Parameters
Type | Name | Description |
---|---|---|
Func<TMat, TMat2> | func | TBD |
Returns
Type | Description |
---|---|
IRunnableGraph<TMat2> | TBD |
Type Parameters
Name | Description |
---|---|
TMat2 | TBD |
Named(String)
TBD
Declaration
public IRunnableGraph<TMat> Named(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | TBD |
Returns
Type | Description |
---|---|
IRunnableGraph<TMat> | TBD |
Run(ActorSystem)
Compiles the graph and executes it, returning the materialized value of the flow.
Declaration
public TMat Run(ActorSystem actorSystem)
Parameters
Type | Name | Description |
---|---|---|
ActorSystem | actorSystem | The ActorSystem. |
Returns
Type | Description |
---|---|
TMat | The materialized value. |
Run(IMaterializer)
Compiles the graph and executes it, returning the materialized value of the flow.
Declaration
public TMat Run(IMaterializer materializer)
Parameters
Type | Name | Description |
---|---|---|
IMaterializer | materializer | A materializer instance. |
Returns
Type | Description |
---|---|
TMat | The materialized value. |
WithAttributes(Attributes)
TBD
Declaration
public IRunnableGraph<TMat> WithAttributes(Attributes attributes)
Parameters
Type | Name | Description |
---|---|---|
Attributes | attributes | TBD |
Returns
Type | Description |
---|---|
IRunnableGraph<TMat> | TBD |
Explicit Interface Implementations
| Improve this Doc View SourceIGraph<ClosedShape, TMat>.AddAttributes(Attributes)
Declaration
IGraph<ClosedShape, TMat> IGraph<ClosedShape, TMat>.AddAttributes(Attributes attributes)
Parameters
Type | Name | Description |
---|---|---|
Attributes | attributes |
Returns
Type | Description |
---|---|
IGraph<ClosedShape, TMat> |
IGraph<ClosedShape, TMat>.Async()
Declaration
IGraph<ClosedShape, TMat> IGraph<ClosedShape, TMat>.Async()
Returns
Type | Description |
---|---|
IGraph<ClosedShape, TMat> |
IGraph<ClosedShape, TMat>.Named(String)
Declaration
IGraph<ClosedShape, TMat> IGraph<ClosedShape, TMat>.Named(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name |
Returns
Type | Description |
---|---|
IGraph<ClosedShape, TMat> |
IGraph<ClosedShape, TMat>.WithAttributes(Attributes)
Declaration
IGraph<ClosedShape, TMat> IGraph<ClosedShape, TMat>.WithAttributes(Attributes attributes)
Parameters
Type | Name | Description |
---|---|---|
Attributes | attributes |
Returns
Type | Description |
---|---|
IGraph<ClosedShape, TMat> |