ktongue's picture
download
raw
435 Bytes
/* global __resourceQuery WorkerGlobalScope */
// Send messages to the outside, so plugins can consume it.
/**
* @param {string} type
* @param {any} [data]
*/
function sendMsg(type, data) {
if (typeof self !== "undefined" && (typeof WorkerGlobalScope === "undefined" || !(self instanceof WorkerGlobalScope))) {
self.postMessage({
type: "webpack".concat(type),
data: data
}, "*");
}
}
export default sendMsg;

Xet Storage Details

Size:
435 Bytes
·
Xet hash:
2fec353867bd030b5c3e5c54e9456b74eebed034479f754bf00e3aa7b010beec

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.