bool IsFinalized(TInstance instance)
        {
            State <TInstance> currentState = this.GetState(instance).Result;

            return(Final.Equals(currentState));
        }
Beispiel #2
0
        async Task <bool> IsFinalized(TInstance instance)
        {
            State <TInstance> currentState = await this.GetState(instance).ConfigureAwait(false);

            return(Final.Equals(currentState));
        }