"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Running = exports.Exited = void 0;

class Exited {
  constructor(nextKey, exit, update) {
    this.nextKey = nextKey;
    this.exit = exit;
    this.update = update;
    this._tag = "Exited";
  }

}

exports.Exited = Exited;

class Running {
  constructor(nextKey, _finalizers, update) {
    this.nextKey = nextKey;
    this._finalizers = _finalizers;
    this.update = update;
    this._tag = "Running";
  }

  finalizers() {
    return this._finalizers;
  }

}

exports.Running = Running;
//# sourceMappingURL=State.js.map