Commit 19475e1a authored by Michael Droettboom's avatar Michael Droettboom

Add comment

parent b6d06454
......@@ -148,6 +148,9 @@ var languagePluginLoader = new Promise((resolve, reject) => {
messageCallback(`Loading ${packageList}`);
}
// monitorRunDependencies is called at the beginning and the end of each
// package being loaded. We know we are done when it has been called
// exactly "toLoad * 2" times.
var packageCounter = Object.keys(toLoad).length * 2;
window.pyodide._module.monitorRunDependencies = (n) => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment