Interface IRunnableGraph<TMat>
Flow with attached input and output, can be executed.
Inherited Members
Namespace: Akka.Streams.Dsl
Assembly: Akka.Streams.dll
Syntax
public interface IRunnableGraph<out TMat> : IGraph<ClosedShape, TMat>, IGraph<ClosedShape>
Type Parameters
Name | Description |
---|---|
TMat | TBD |
Methods
| Improve this Doc View SourceAddAttributes(Attributes)
Add the given attributes to this IGraph<TShape>. Further calls to WithAttributes(Attributes) will not remove these attributes. Note that this operation has no effect on an empty Flow (because the attributes apply only to the contained processing stages).
Declaration
IRunnableGraph<TMat> AddAttributes(Attributes attributes)
Parameters
Type | Name | Description |
---|---|---|
Attributes | attributes | TBD |
Returns
Type | Description |
---|---|
IRunnableGraph<TMat> | TBD |
MapMaterializedValue<TMat2>(Func<TMat, TMat2>)
Transform only the materialized value of this RunnableGraph, leaving all other properties as they were.
Declaration
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)
Add a name attribute to this Graph.
Declaration
IRunnableGraph<TMat> Named(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | TBD |
Returns
Type | Description |
---|---|
IRunnableGraph<TMat> | TBD |
Run(ActorSystem)
Run this flow and return the materialized instance from the flow.
Declaration
TMat Run(ActorSystem actorSystem)
Parameters
Type | Name | Description |
---|---|---|
ActorSystem | actorSystem | The actorSystem |
Returns
Type | Description |
---|---|
TMat | TBD |
Run(IMaterializer)
Run this flow and return the materialized instance from the flow.
Declaration
TMat Run(IMaterializer materializer)
Parameters
Type | Name | Description |
---|---|---|
IMaterializer | materializer | TBD |
Returns
Type | Description |
---|---|
TMat | TBD |
WithAttributes(Attributes)
Change the attributes of this IGraph<TShape> to the given ones and seal the list of attributes. This means that further calls will not be able to remove these attributes, but instead add new ones. Note that this operation has no effect on an empty Flow (because the attributes apply only to the contained processing stages).
Declaration
IRunnableGraph<TMat> WithAttributes(Attributes attributes)
Parameters
Type | Name | Description |
---|---|---|
Attributes | attributes | TBD |
Returns
Type | Description |
---|---|
IRunnableGraph<TMat> | TBD |