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

Function previous

packages/effect/src/internal/stream/debounceState.ts:48–51  ·  view source on GitHub ↗
(fiber: Fiber.Fiber<Chunk.Chunk<A>>)

Source from the content-addressed store, hash-verified

46
47/** @internal */
48export const previous = <A>(fiber: Fiber.Fiber<Chunk.Chunk<A>>): DebounceState<A> => ({
49 _tag: OP_PREVIOUS,
50 fiber
51})
52
53/** @internal */
54export const current = <A, E>(fiber: Fiber.Fiber<HandoffSignal.HandoffSignal<A, E>, E>): DebounceState<A, E> => ({

Callers 1

constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected