| GraphDslCreateTShapeOut, TMatOut, TMat0, TMat1, TShape0, TShape1 Method (IGraphTShape0, TMat0, IGraphTShape1, TMat1, FuncTMat0, TMat1, TMatOut, FuncGraphDslBuilderTMatOut, TShape0, TShape1, TShapeOut) |
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static IGraph<TShapeOut, TMatOut> Create<TShapeOut, TMatOut, TMat0, TMat1, TShape0, TShape1>(
IGraph<TShape0, TMat0> g0,
IGraph<TShape1, TMat1> g1,
Func<TMat0, TMat1, TMatOut> combineMaterializers,
Func<GraphDslBuilder<TMatOut>, TShape0, TShape1, TShapeOut> buildBlock
)
where TShapeOut : Shape
where TShape0 : Shape
where TShape1 : Shape
static member Create :
g0 : IGraph<'TShape0, 'TMat0> *
g1 : IGraph<'TShape1, 'TMat1> *
combineMaterializers : Func<'TMat0, 'TMat1, 'TMatOut> *
buildBlock : Func<GraphDslBuilder<'TMatOut>, 'TShape0, 'TShape1, 'TShapeOut> -> IGraph<'TShapeOut, 'TMatOut> when 'TShapeOut : Shape when 'TShape0 : Shape when 'TShape1 : Shape
Parameters
- g0
- Type: Akka.StreamsIGraphTShape0, TMat0
A first input graph. - g1
- Type: Akka.StreamsIGraphTShape1, TMat1
A second input graph. - combineMaterializers
- Type: SystemFuncTMat0, TMat1, TMatOut
Function used to determine output materialized value based on the materialized values of the passed graphs. - buildBlock
- Type: SystemFuncGraphDslBuilderTMatOut, TShape0, TShape1, TShapeOut
A graph constructor function.
Type Parameters
- TShapeOut
- A type describing shape of the returned graph.
- TMatOut
- A type of value, that graph will materialize to after completion.
- TMat0
- A type of materialized value of the first input graph parameter.
- TMat1
- A type of materialized value of the second input graph parameter.
- TShape0
- A type describing the shape of a first input graph parameter.
- TShape1
- A type describing the shape of a second input graph parameter.
Return Value
Type:
IGraphTShapeOut,
TMatOutA graph with materialized value.
See Also