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