import { Duration } from "@tsplus/stdlib/data/Duration"; import { Deferred } from "@effect/core/io/Deferred/definition"; import { FiberId } from "@effect/core/io/FiberId/definition"; /** * `Sleep` represents the state of a scheduled effect, including the time the * effect is scheduled to run, a promise that can be completed to resume * execution of the effect, and the fiber executing the effect. * * @tsplus type effect/core/testing/TestClock.Sleep */ export interface Sleep { readonly duration: Duration; readonly deferred: Deferred; readonly fiberId: FiberId; } /** * @tsplus type effect/core/testing/TestClock.Sleep.Ops */ export interface SleepOps { (duration: Duration, deferred: Deferred, fiberId: FiberId): Sleep; } /** * @tsplus static effect/core/testing/TestClock.Ops Sleep * @tsplus location "@effect/core/testing/TestClock/Sleep" */ export declare const Sleep: SleepOps; //# sourceMappingURL=Sleep.d.ts.map