"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.watchGraphMerge = void 0;
const callAll_1 = require("../../util/call/callAll");
const watchPinEvent_1 = require("./../watchPinEvent");
function watchGraphMerge(mergeId, type, pinId, pin, callback) {
    const all = [
        (0, watchPinEvent_1.watchPinEvent)('data', type, pinId, pin, callback),
        (0, watchPinEvent_1.watchPinEvent)('drop', type, pinId, pin, callback),
        // watchPinEvent('invalid', type, pinId, pin, callback),
        // watchPinEvent('start', type, pinId, pin, callback),
        // watchPinEvent('end', type, pinId, pin, callback),
    ];
    const unlisten = (0, callAll_1.callAll)(all);
    return () => {
        unlisten();
    };
}
exports.watchGraphMerge = watchGraphMerge;
//# sourceMappingURL=watchGraphMerge.js.map