RuntimeFactory.Create method (1 of 2)
Creates a new actor runtime.
public static IActorRuntime Create()
Return Value
The created actor runtime.
Remarks
Only one actor runtime can be used per process. If you create a new actor runtime it replaces the previously installed one. This is a thread-safe operation.
See Also
- interface IActorRuntime
- class RuntimeFactory
- namespace Microsoft.Coyote.Actors
- assembly Microsoft.Coyote.Actors
RuntimeFactory.Create method (2 of 2)
Creates a new actor runtime with the specified Configuration.
public static IActorRuntime Create(Configuration configuration)
parameter | description |
---|---|
configuration | The runtime configuration to use. |
Return Value
The created actor runtime.
Remarks
Only one actor runtime can be used per process. If you create a new actor runtime it replaces the previously installed one. This is a thread-safe operation.
See Also
- interface IActorRuntime
- class RuntimeFactory
- namespace Microsoft.Coyote.Actors
- assembly Microsoft.Coyote.Actors