import * as tsplus_module_1 from "@effect/core/stream/Channel/operations/write";
import * as tsplus_module_2 from "@effect/core/stream/Channel/operations/suspend";
import { SinkInternal } from "@effect/core/stream/Sink/operations/_internal/SinkInternal";
/**
 * @tsplus static ets/Sink/Ops leftover
 */

export function leftover(chunk, __tsplusTrace) {
  return new SinkInternal(tsplus_module_2.suspend(() => tsplus_module_1.write(() => chunk())));
}
//# sourceMappingURL=leftover.mjs.map