All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.MarkedEvents.js Maven / Gradle / Ivy

const markedEvents = new WeakMap();
/**
 * Marks the given event with random marker.
 */
const markEvent = (event, value) => {
    markedEvents.set(event, value);
};
/**
 * Returns the marker for the given event.
 */
const getEventMark = (event) => {
    return markedEvents.get(event);
};
export { markEvent, getEventMark, };
//# sourceMappingURL=MarkedEvents.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy