MCPcopy Index your code
hub / github.com/Effect-TS/effect / driver

Function driver

packages/effect/src/internal/schedule.ts:660–666  ·  view source on GitHub ↗
(
  self: Schedule.Schedule<Out, In, R>
)

Source from the content-addressed store, hash-verified

658
659/** @internal */
660export const driver = <Out, In, R>(
661 self: Schedule.Schedule<Out, In, R>
662): Effect.Effect<Schedule.ScheduleDriver<Out, In, R>> =>
663 pipe(
664 ref.make<readonly [Option.Option<Out>, any]>([Option.none(), self.initial]),
665 core.map((ref) => new ScheduleDriverImpl(self, ref))
666 )
667
668/** @internal */
669export const duration = (

Callers 1

schedule.tsFile · 0.85

Calls 3

pipeFunction · 0.70
makeMethod · 0.65
mapMethod · 0.65

Tested by

no test coverage detected