UNPKG

@baseplate-dev/sync

Version:

Library for syncing Baseplate descriptions

13 lines 407 B
export function buildCompositeMergeAlgorithm(mergeAlgorithms) { return async (input) => { // try merge algorithms in order until one works for (const algorithm of mergeAlgorithms) { const result = await algorithm(input); if (result) { return result; } } return null; }; } //# sourceMappingURL=composite-merge.js.map