MCPcopy Create free account
hub / github.com/Effect-TS/effect / constructor

Method constructor

packages/effect/src/Cache.ts:463–470  ·  view source on GitHub ↗
(
    parent: Fiber.Fiber<unknown, unknown>,
    valueEffect: Effect.Effect<A, E, any>
  )

Source from the content-addressed store, hash-verified

461 fiber: Fiber.Fiber<A, E>
462
463 constructor(
464 parent: Fiber.Fiber<unknown, unknown>,
465 valueEffect: Effect.Effect<A, E, any>
466 ) {
467 this.fiber = effect.forkUnsafe(parent, valueEffect, true, true)
468 this.awaiters = 0
469 this.expiresAt = undefined
470 }
471
472 await(): Effect.Effect<A, E> {
473 const exit = this.fiber.pollUnsafe()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected