greenlet
greenlet copied to clipboard
Pass data in to function
In the similar, Node.JS oriented library microtask, one can pass arguments in to a function. This would be a nice feature to have in greenlet too.
Hiya! I'm not sure I follow - would this be different from Greenlet's current support for calling arguments?
const foo = greenlet((a, b, c) => [a, b, c]);
await foo(1, 2, 3) // [1,2,3]