// ets_tracing: off
import * as SK from "../Sink";
import { run_ } from "./run";
/**
 * Runs the stream to completion and yields the last value emitted by it,
 * discarding the rest of the elements.
 */

export function runLast(self) {
  return run_(self, SK.last());
}
//# sourceMappingURL=runLast.js.map