export class Emit {
  constructor(elements) {
    this.elements = elements;
    this._tag = "Emit";
  }

}
export class Halt {
  constructor(error) {
    this.error = error;
    this._tag = "Halt";
  }

}
export class End {
  constructor(reason) {
    this.reason = reason;
    this._tag = "End";
  }

}
export const HandoffSignal = {};
/**
 * @tsplus static ets/Stream/HandoffSignal/Ops Emit
 */

export function emit(elements) {
  return new Emit(elements);
}
/**
 * @tsplus static ets/Stream/HandoffSignal/Ops Halt
 */

export function halt(error) {
  return new Halt(error);
}
/**
 * @tsplus static ets/Stream/HandoffSignal/Ops End
 */

export function end(reason) {
  return new End(reason);
}
//# sourceMappingURL=HandoffSignal.mjs.map