import { Effect } from "@effect/core/io/Effect/definition"; import { Fiber } from "@effect/core/io/Fiber/definition"; import { AtomicReference } from "@tsplus/stdlib/data/AtomicReference"; /** * Forks this effect and the specified effect into their own fibers, and races * them, calling one of two specified callbacks depending on which fiber wins * the race. This method does not interrupt, join, or otherwise do anything * with the fibers. It can be considered a low-level building block for * higher-level operators like `race`. * @tsplus static effect/core/io/Effect.Aspects raceFibersWith * @tsplus pipeable effect/core/io/Effect raceFibersWith * @tsplus location "@effect/core/io/Effect/operations/raceFibersWith" */ export declare function raceFibersWith(that: Effect, selfWins: (winner: Fiber, loser: Fiber) => Effect, thatWins: (winner: Fiber, loser: Fiber) => Effect): (self: Effect) => Effect; //# sourceMappingURL=raceFibersWith.d.ts.map