Class GraphDelegate<TShape, TMat>
Allows creating additional API on top of an existing Graph by extending from this class and accessing the delegate
Inheritance
Inherited Members
Namespace: Akka.Streams
Assembly: Akka.Streams.dll
Syntax
public abstract class GraphDelegate<TShape, TMat> : IGraph<TShape, TMat>, IGraph<TShape> where TShape : Shape
Type Parameters
Name | Description |
---|---|
TShape | |
TMat |
Constructors
| Edit this page View SourceGraphDelegate(IGraph<TShape, TMat>)
Declaration
protected GraphDelegate(IGraph<TShape, TMat> inner)
Parameters
Type | Name | Description |
---|---|---|
IGraph<TShape, TMat> | inner |
Fields
| Edit this page View SourceInner
Declaration
protected readonly IGraph<TShape, TMat> Inner
Field Value
Type | Description |
---|---|
IGraph<TShape, TMat> |
Properties
| Edit this page View SourceModule
INTERNAL API: Every materializable element must be backed by a stream layout module
Declaration
public IModule Module { get; }
Property Value
Type | Description |
---|---|
IModule |
Shape
The shape of a graph is all that is externally visible: its inlets and outlets.
Declaration
public TShape Shape { get; }
Property Value
Type | Description |
---|---|
TShape |
Methods
| Edit this page 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
public IGraph<TShape, TMat> AddAttributes(Attributes attributes)
Parameters
Type | Name | Description |
---|---|---|
Attributes | attributes | TBD |
Returns
Type | Description |
---|---|
IGraph<TShape, TMat> | TBD |
Async()
Put an asynchronous boundary around this Graph.
Declaration
public IGraph<TShape, TMat> Async()
Returns
Type | Description |
---|---|
IGraph<TShape, TMat> | TBD |
Named(string)
Add a name attribute to this Graph.
Declaration
public IGraph<TShape, TMat> Named(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | TBD |
Returns
Type | Description |
---|---|
IGraph<TShape, 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
public IGraph<TShape, TMat> WithAttributes(Attributes attributes)
Parameters
Type | Name | Description |
---|---|---|
Attributes | attributes | TBD |
Returns
Type | Description |
---|---|
IGraph<TShape, TMat> | TBD |