{"action":"created","issue":{"url":"https://api.github.com/repos/publiclab/image-sequencer/issues/829","repository_url":"https://api.github.com/repos/publiclab/image-sequencer","labels_url":"https://api.github.com/repos/publiclab/image-sequencer/issues/829/labels{/name}","comments_url":"https://api.github.com/repos/publiclab/image-sequencer/issues/829/comments","events_url":"https://api.github.com/repos/publiclab/image-sequencer/issues/829/events","html_url":"https://github.com/publiclab/image-sequencer/issues/829","id":416549073,"node_id":"MDU6SXNzdWU0MTY1NDkwNzM=","number":829,"title":"Enable Asynchronous Processing","user":{"login":"HarshKhandeparkar","id":34770591,"node_id":"MDQ6VXNlcjM0NzcwNTkx","avatar_url":"https://avatars1.githubusercontent.com/u/34770591?v=4","gravatar_id":"","url":"https://api.github.com/users/HarshKhandeparkar","html_url":"https://github.com/HarshKhandeparkar","followers_url":"https://api.github.com/users/HarshKhandeparkar/followers","following_url":"https://api.github.com/users/HarshKhandeparkar/following{/other_user}","gists_url":"https://api.github.com/users/HarshKhandeparkar/gists{/gist_id}","starred_url":"https://api.github.com/users/HarshKhandeparkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HarshKhandeparkar/subscriptions","organizations_url":"https://api.github.com/users/HarshKhandeparkar/orgs","repos_url":"https://api.github.com/users/HarshKhandeparkar/repos","events_url":"https://api.github.com/users/HarshKhandeparkar/events{/privacy}","received_events_url":"https://api.github.com/users/HarshKhandeparkar/received_events","type":"User","site_admin":false},"labels":[{"id":1170293893,"node_id":"MDU6TGFiZWwxMTcwMjkzODkz","url":"https://api.github.com/repos/publiclab/image-sequencer/labels/discussion","name":"discussion","color":"8ef9ef","default":false},{"id":640814814,"node_id":"MDU6TGFiZWw2NDA4MTQ4MTQ=","url":"https://api.github.com/repos/publiclab/image-sequencer/labels/new-feature","name":"new-feature","color":"000000","default":false},{"id":1221725745,"node_id":"MDU6TGFiZWwxMjIxNzI1NzQ1","url":"https://api.github.com/repos/publiclab/image-sequencer/labels/performance","name":"performance","color":"fcccff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2019-03-03T18:48:38Z","updated_at":"2019-03-31T11:16:29Z","closed_at":null,"author_association":"MEMBER","body":"### Asynchronous\r\nThe Image Sequencer processes can be run on an alternate thread using webworkers. Native support for workers has also been added to Node.js. [Greenlet(workerize)](https://github.com/developit/greenlet) can also be used.\r\n\r\n### Use Case\r\nDoing this will not slow down the browser as much as it did before. All other browser activities will work and sequencer will run on an alternate thread and only a spinner will be shown.\r\n\r\n### Ideas\r\nDo you have any other ideas? Any other ways to tackle this? Anything? Please let us know in the discussion(comments).\r\n\r\n****\r\n\r\n## Thank you!\r\n\r\nYour help makes Public Lab better! We *deeply* appreciate your helping refine and improve this site.\r\n\r\nTo learn how to write really great issues, which increases the chances they'll be resolved, see:\r\n\r\nhttps://publiclab.org/wiki/developers#Contributing+for+non-coders\r\n"},"comment":{"url":"https://api.github.com/repos/publiclab/image-sequencer/issues/comments/478332531","html_url":"https://github.com/publiclab/image-sequencer/issues/829#issuecomment-478332531","issue_url":"https://api.github.com/repos/publiclab/image-sequencer/issues/829","id":478332531,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3ODMzMjUzMQ==","user":{"login":"Divy123","id":31225007,"node_id":"MDQ6VXNlcjMxMjI1MDA3","avatar_url":"https://avatars3.githubusercontent.com/u/31225007?v=4","gravatar_id":"","url":"https://api.github.com/users/Divy123","html_url":"https://github.com/Divy123","followers_url":"https://api.github.com/users/Divy123/followers","following_url":"https://api.github.com/users/Divy123/following{/other_user}","gists_url":"https://api.github.com/users/Divy123/gists{/gist_id}","starred_url":"https://api.github.com/users/Divy123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Divy123/subscriptions","organizations_url":"https://api.github.com/users/Divy123/orgs","repos_url":"https://api.github.com/users/Divy123/repos","events_url":"https://api.github.com/users/Divy123/events{/privacy}","received_events_url":"https://api.github.com/users/Divy123/received_events","type":"User","site_admin":false},"created_at":"2019-03-31T11:16:29Z","updated_at":"2019-03-31T11:16:29Z","author_association":"NONE","body":"![Screenshot from 2019-03-31 16-43-21](https://user-images.githubusercontent.com/31225007/55288368-2fb3de80-53d4-11e9-9e92-299a546cc94f.png)\r\n\r\nSince greenlet does not work with nodejs, I went through node-webworker.\r\nBut the issue I am facing is: \r\n\r\n```\r\ninternal/bootstrap/loaders.js:81\r\n        mod = bindingObj[module] = getBinding(module);\r\n                                   ^\r\n\r\nError: No such module: net\r\nat process.binding (internal/bootstrap/loaders.js:81:36)\r\n    at Object.<anonymous> (/home/divy/Desktop/practice/node_modules/webworker/lib/webworker.js:35:26)\r\n    at Module._compile (internal/modules/cjs/loader.js:701:30)\r\n    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)\r\n    at Module.load (internal/modules/cjs/loader.js:600:32)\r\n    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)\r\n    at Function.Module._load (internal/modules/cjs/loader.js:531:3)\r\n    at Module.require (internal/modules/cjs/loader.js:637:17)\r\n    at require (internal/modules/cjs/helpers.js:22:18)\r\n    at Object.<anonymous> (/home/divy/Desktop/practice/main.js:1:76)\r\n```\r\nSo I think we can make this happen only on browsers until we don't find a good solution for node.\r\n@jywarren what do you think upon this?"}}
{"actor":{"display_login":"Divy123"}}