

const require_rolldown_runtime = require('../_virtual/rolldown_runtime.js');
let rxjs = require("rxjs");
rxjs = require_rolldown_runtime.__toESM(rxjs);

//#region src/agent/Events.ts
function filterContextCorrelationId(contextCorrelationId) {
	return (source) => {
		return source.pipe((0, rxjs.filter)((event) => event.metadata.contextCorrelationId === contextCorrelationId));
	};
}

//#endregion
exports.filterContextCorrelationId = filterContextCorrelationId;