SharedRegister.Create<T> method
Creates a new shared register.
public static SharedRegister<T> Create<T>(IActorRuntime runtime, T value = default)
where T : struct
parameter | description |
---|---|
T | The type of the value. |
runtime | The actor runtime. |
value | The initial value. |
See Also
- class SharedRegister<T>
- interface IActorRuntime
- class SharedRegister
- namespace Microsoft.Coyote.Actors.SharedObjects
- assembly Microsoft.Coyote.Actors