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