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

Function runLast

packages/effect/src/internal/stream.ts:6017–6019  ·  view source on GitHub ↗
(
  self: Stream.Stream<A, E, R>
)

Source from the content-addressed store, hash-verified

6015
6016/** @internal */
6017export const runLast = <A, E, R>(
6018 self: Stream.Stream<A, E, R>
6019): Effect.Effect<Option.Option<A>, E, R> => run(self, sink_.last())
6020
6021/** @internal */
6022export const runScoped = dual<

Callers

nothing calls this directly

Calls 2

lastMethod · 0.80
runFunction · 0.70

Tested by

no test coverage detected