greenlet icon indicating copy to clipboard operation
greenlet copied to clipboard

🦎 Move an async function into its own thread.

Results 15 greenlet issues
Sort by recently updated
recently updated
newest added

In the similar, Node.JS oriented library [microtask](https://github.com/wilk/microjob), one can [pass arguments in to a function](https://github.com/wilk/microjob/blob/master/GUIDE.md#job-data). This would be a nice feature to have in greenlet too.

question

Hello! Just noticed this problem with greenlet on Firefox (66.0.3); indexedDB is `null` in the greenlet execution context. Reproduction case: ```javascript const callIndexedDB = greenlet(async (limit) => { console.log(indexedDB); //...

question
discussion

Has any benchmark been done to help users know when using Greenlet is beneficial ? Also, knowing when not to use it would be a great gain. Anyway, awesome work,...

help wanted
discussion

vue2 , ``` methods: { async btnTest() { let getName = greenlet( async username => { let url = `https://api.github.com/users/${username}` let res = await fetch(url) let profile = await res.json()...

Currently the worker is always created in classic mode. Since firefox now supports module workers, it would be nice to have the option for it in greenlet. It would open...