Skip to content

Commit

Permalink
alert user when encryption finishes
Browse files Browse the repository at this point in the history
  • Loading branch information
nebfield committed Jan 10, 2024
1 parent 979d581 commit 7c62e44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consumer.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ async function main() {
const { results, error } = await asyncRun(script, context);
if (results) {
console.log("pyodideWorker return results: ", results);
alert("Encryption finished successfully!");
} else if (error) {
console.log("pyodideWorker error: ", error);
}
Expand Down

0 comments on commit 7c62e44

Please sign in to comment.