import * as tsplus_module_1 from "@effect/core/io/FiberId/operations/combine";
import * as tsplus_module_2 from "@tsplus/stdlib/collections/Chunk/concat";
import * as tsplus_module_3 from "@effect/core/io/Trace/definition";
/**
 * Combine two `Trace`s.
 *
 * @tsplus operator ets/Trace +
 * @tsplus fluent ets/Trace combine
 */

export function combine_(self, that) {
  return tsplus_module_3.make(tsplus_module_1.combine_(self.fiberId, that.fiberId), tsplus_module_2.concat_(self.stackTrace, that.stackTrace));
}
/**
 * Combine two `Trace`s.
 */

export const combine = that => self => combine_(self, that);
//# sourceMappingURL=combine.mjs.map