refactor worker with cleaner object function bindings

This commit is contained in:
Stewart Allen 2022-01-02 14:25:28 -05:00
commit eb2fbf2a09
8 changed files with 168 additions and 59 deletions

View file

@ -120,7 +120,6 @@ let client = moto.client = {
data,
stream: ondata ? true : false
};
try {
worker.postMessage(msg, direct);
} catch (error) {