src/main/scheduler/id.js
let idCount = 0;
/**
* @ignore
*/
export default function id(key) {
return key === undefined ? `gz${idCount++}` : `key${idCount++}`;
}
let idCount = 0;
/**
* @ignore
*/
export default function id(key) {
return key === undefined ? `gz${idCount++}` : `key${idCount++}`;
}