'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

function createUniqueIdFn(prefix = 'id') {
    let count = 0;
    return () => {
        count++;
        return `${prefix}_${count}`;
    };
}
const makeMessageId = createUniqueIdFn('message');

exports.makeMessageId = makeMessageId;
