Added py:all-done event (#1756)

This commit is contained in:
Andrea Giammarchi
2023-09-26 15:56:50 +02:00
committed by GitHub
parent b9a1227e47
commit 3ac2ac0982
11 changed files with 239 additions and 74 deletions

View File

@@ -0,0 +1,21 @@
export default {
/** @type {Set<function>} */
onBeforeRun: new Set(),
/** @type {Set<function>} */
onBeforeRunAsync: new Set(),
/** @type {Set<function>} */
onAfterRun: new Set(),
/** @type {Set<function>} */
onAfterRunAsync: new Set(),
/** @type {Set<function>} */
onInterpreterReady: new Set(),
/** @type {Set<string>} */
codeBeforeRunWorker: new Set(),
/** @type {Set<string>} */
codeBeforeRunWorkerAsync: new Set(),
/** @type {Set<string>} */
codeAfterRunWorker: new Set(),
/** @type {Set<string>} */
codeAfterRunWorkerAsync: new Set(),
};