7 ms·
I reimplemented tj/co in 15 lines of code
- julbaxter 10y agoMost tj/co code is to support these yieldables: - promises - thunks (functions) - array (parallel execution) - objects (parallel execution) - generators (delegation) - generator functions (delegation) (see https://github.com/tj/co#yieldables https://github.com/tj/co#yieldables) Have your library the same support?
- huydotnet 10y agono, it's just a simple snippet and only support promises :D