import * as tsplus_module_1 from "@tsplus/stdlib/data/AtomicNumber";
import { RuntimeFiberId } from "@effect/core/io/FiberId/definition";

const _fiberCounter = /*#__PURE__*/new tsplus_module_1.AtomicNumber(0);
/**
 * @tsplus static ets/FiberId/Ops __call
 */


export function make(id, startTimeSeconds, location) {
  return new RuntimeFiberId(id, startTimeSeconds, location);
}
/**
 * @tsplus static ets/FiberId/Ops unsafeMake
 */

export function unsafeMake(location) {
  return new RuntimeFiberId(_fiberCounter.getAndIncrement(), Math.floor(new Date().getTime() / 1000), location);
}
//# sourceMappingURL=make.mjs.map