UNPKG

durable-functions

Version:

Durable Functions library for Node.js Azure Functions

18 lines 906 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CallActivityWithRetryAction = void 0; const Utils_1 = require("../util/Utils"); const RetryOptions_1 = require("../RetryOptions"); const ActionType_1 = require("./ActionType"); class CallActivityWithRetryAction { constructor(functionName, retryOptions, input) { this.functionName = functionName; this.retryOptions = retryOptions; this.actionType = ActionType_1.ActionType.CallActivityWithRetry; this.input = Utils_1.Utils.processInput(input); Utils_1.Utils.throwIfEmpty(functionName, "functionName"); Utils_1.Utils.throwIfNotInstanceOf(retryOptions, "retryOptions", new RetryOptions_1.RetryOptions(1, 1), "RetryOptions"); } } exports.CallActivityWithRetryAction = CallActivityWithRetryAction; //# sourceMappingURL=CallActivityWithRetryAction.js.map