| ActorMaterializerExtensionsMaterializer Method |
Creates a ActorMaterializer which will execute every step of a transformation
pipeline within its own ActorBase. The required IActorRefFactory
(which can be either an ActorSystem or an IActorContext)
will be used to create one actor that in turn creates actors for the transformation steps.
The materializer's ActorMaterializerSettings will be obtained from the
configuration of the context's underlying ActorSystem.
The namePrefix is used as the first part of the names of the actors running
the processing steps. The default namePrefix is "flow". The actor names are built up of
namePrefix-flowNumber-flowStepNumber-stepName.
Namespace:
Akka.Streams
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static ActorMaterializer Materializer(
this IActorRefFactory context,
ActorMaterializerSettings settings = null,
string namePrefix = null
)
[<ExtensionAttribute>]
static member Materializer :
context : IActorRefFactory *
?settings : ActorMaterializerSettings *
?namePrefix : string
(* Defaults:
let _settings = defaultArg settings null
let _namePrefix = defaultArg namePrefix null
*)
-> ActorMaterializer
Parameters
- context
- Type: Akka.ActorIActorRefFactory
TBD - settings (Optional)
- Type: Akka.StreamsActorMaterializerSettings
TBD - namePrefix (Optional)
- Type: SystemString
TBD
Return Value
Type:
ActorMaterializerTBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IActorRefFactory. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also