// ets_tracing: off import type * as T from "../../../../Effect/index.js" import type * as O from "../../../../Option/index.js" import * as SK from "../../Sink/index.js" import type * as C from "../core.js" import * as Run from "./run.js" /** * Runs the stream to collect the first value emitted by it without running * the rest of the stream. */ export function runHead(self: C.Stream): T.Effect> { return Run.run_(self, SK.head()) }