| TestKitBaseActorOfAsTestFSMRefTFsmActor, TState, TData Method (Props, IActorRef, String, Boolean) |
Namespace:
Akka.TestKit
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public TestFSMRef<TFsmActor, TState, TData> ActorOfAsTestFSMRef<TFsmActor, TState, TData>(
Props props,
IActorRef supervisor,
string name = null,
bool withLogging = false
)
where TFsmActor : FSM<TState, TData>
member ActorOfAsTestFSMRef :
props : Props *
supervisor : IActorRef *
?name : string *
?withLogging : bool
(* Defaults:
let _name = defaultArg name null
let _withLogging = defaultArg withLogging false
*)
-> TestFSMRef<'TFsmActor, 'TState, 'TData> when 'TFsmActor : FSM<'TState, 'TData>
Parameters
- props
- Type: Akka.ActorProps
The Props object - supervisor
- Type: Akka.ActorIActorRef
The supervisor - name (Optional)
- Type: SystemString
Optional: The name. - withLogging (Optional)
- Type: SystemBoolean
Optional: If set to true logs state changes of the FSM as Debug messages. Default is false.
Type Parameters
- TFsmActor
- The type of the actor. It must be a FSMTState, TData
- TState
- The type of state name
- TData
- The type of state data
Return Value
Type:
TestFSMRefTFsmActor,
TState,
TDataTBD
See Also