//#region ../zql/src/ivm/operator.ts
/**
* An implementation of Output that throws if pushed to. It is used as the
* initial value for for an operator's output before it is set.
*/
var throwOutput = { push(_change) {
	throw new Error("Output not set");
} };
function* skipYields(stream) {
	for (const node of stream) if (node !== "yield") yield node;
}
//#endregion
export { skipYields, throwOutput };

//# sourceMappingURL=operator.js.map