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

Function runLast

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

Source from the content-addressed store, hash-verified

5977
5978/** @internal */
5979export const runLast = <A, E, R>(
5980 self: Stream.Stream<A, E, R>
5981): Effect.Effect<Option.Option<A>, E, R> => run(self, sink_.last())
5982
5983/** @internal */
5984export const runScoped = dual<

Callers

nothing calls this directly

Calls 2

lastMethod · 0.80
runFunction · 0.70

Tested by

no test coverage detected