|
|
@ -5,7 +5,9 @@ import { Events, Inputs, Outputs, State } from "./constants";
|
|
|
|
import { IStateProvider } from "./stateProvider";
|
|
|
|
import { IStateProvider } from "./stateProvider";
|
|
|
|
import * as utils from "./utils/actionUtils";
|
|
|
|
import * as utils from "./utils/actionUtils";
|
|
|
|
|
|
|
|
|
|
|
|
async function restoreImpl(stateProvider: IStateProvider): Promise<string | undefined> {
|
|
|
|
async function restoreImpl(
|
|
|
|
|
|
|
|
stateProvider: IStateProvider
|
|
|
|
|
|
|
|
): Promise<string | undefined> {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
if (!utils.isCacheFeatureAvailable()) {
|
|
|
|
if (!utils.isCacheFeatureAvailable()) {
|
|
|
|
utils.setCacheHitOutput(false);
|
|
|
|
utils.setCacheHitOutput(false);
|
|
|
|