libwebp-compress/node_modules/@ffmpeg/ffmpeg/dist/esm/utils.js
2024-11-06 11:40:07 +08:00

8 lines
138 B
JavaScript

/**
* Generate an unique message ID.
*/
export const getMessageID = (() => {
let messageID = 0;
return () => messageID++;
})();