durable-functions
Version:
Durable Functions library for Node.js Azure Functions
14 lines • 460 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.WhenAnyTask = void 0;
const _1 = require(".");
const CompoundTask_1 = require("./CompoundTask");
class WhenAnyTask extends CompoundTask_1.CompoundTask {
trySetValue(child) {
if (this.state === _1.TaskState.Running) {
this.setValue(false, child);
}
}
}
exports.WhenAnyTask = WhenAnyTask;
//# sourceMappingURL=WhenAnyTask.js.map
;