Gozala / Gozala/channel

Can this module work with other generator libraries - e.g. TJ's "co" module?

Open
#4 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
36
Forks
3
PR merge metrics
No merged PRs in 30d

Description

I noticed this channel library can work with simple promises without having to use generators.

And that your "spawn" function is fairly simple and designed around promises.

And I knew TJ's "co" module allows you to yield promises to his "co" function (similar to your "spawn"):
https://www.npmjs.com/package/co

My question: Do you know (or do you think?) your module could work using that other "co" library in lieu of your "spawn" function? Is that part of the idea behind your design using Promises?

(I only ask because there's some other helper libraries that work together with "co" that seem convenient so I'd like to use it together with your library).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.