export class Pulled {
  constructor(value) {
    this.value = value;
    this._tag = "Pulled";
  }

}
export class NoUpstream {
  constructor(activeDownstreamCount) {
    this.activeDownstreamCount = activeDownstreamCount;
    this._tag = "NoUpstream";
  }

}
export const UpstreamPullRequest = {};
/**
 * @tsplus unify ets/Channel/UpstreamPullRequest
 */

export function unifyUpstreamPullRequest(self) {
  return self;
}
/**
 * @tsplus static ets/Channel/UpstreamPullRequest/Ops Pulled
 */

export function pulled(value) {
  return new Pulled(value);
}
/**
 * @tsplus static ets/Channel/UpstreamPullRequest/Ops NoUpstream
 */

export function noUpstream(activeDownstreamCount) {
  return new NoUpstream(activeDownstreamCount);
}
//# sourceMappingURL=UpstreamPullRequest.mjs.map