Skip to content

Commit

Permalink
Remove unnecessary comment for posting message delay
Browse files Browse the repository at this point in the history
  • Loading branch information
magland committed Jul 2, 2024
1 parent dd8e5f7 commit e6d5b7f
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ const run = async (code: string) => {
try {
const pyodide = await loadPyodideInstance();
setStatus("running");
// Is the following needed for the message to get posted?
// await new Promise((resolve) => setTimeout(resolve, 100));

// here's where we can pass in globals
const globals = pyodide.toPy({ _sp_example_global: 5 });
const script = MPLPreamble + "\n" + code;
Expand Down

0 comments on commit e6d5b7f

Please sign in to comment.