tj / co

The ultimate generator based flow-control goodness for nodejs (supports thunks, promises, etc)
MIT License
11.88k stars 792 forks source link

Flowtype definitions? #296

Open ryyppy opened 8 years ago

ryyppy commented 8 years ago

Does anybody know if there are any co Flowtype definitions around? If not, I will probably tackle this inside the flow-typed project...

Would be cool to have some flowtype & co users for testing!

sliminality commented 7 years ago

Did anything become of this? I just started using both co and Flow, and I'm having trouble getting Flow to typecheck my yielded variables correctly.

ryyppy commented 7 years ago

Ever since the interest for this was very low, so I focused on other stuff... in the mid of November, I will probably use co more often (or other CSP libraries doing similar things)... problem is that it is very hard to have a very nice UX & type-safetiness for yield and next values... although yield is usually easier than next... if you want we could work on it on a flow-typed fork?