Open rektide opened 5 years ago
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]
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.