export const TryCommit = {};
export function unifyTryCommit(self) {
  return self;
}
export class Done {
  constructor(exit) {
    this.exit = exit;
    this._tag = "Done";
  }

}
export class Suspend {
  constructor(journal) {
    this.journal = journal;
    this._tag = "Suspend";
  }

}
/**
 * @tsplus static ets/TryCommit/Ops done
 */

export function done(exit) {
  return new Done(exit);
}
/**
 * @tsplus static ets/TryCommit/Ops suspend
 */

export function suspend(journal) {
  return new Suspend(journal);
}
//# sourceMappingURL=TryCommit.mjs.map