Select: Make compose-friendly by taking a known number of arguments.
This commit is contained in:
parent
d7355e17e1
commit
6ea2b8bafe
5 changed files with 24 additions and 22 deletions
|
@ -300,7 +300,7 @@ Channel.of = (...values) => Channel.from(values);
|
|||
|
||||
Channel.isChannel = arg => prototype.isPrototypeOf(arg);
|
||||
|
||||
Channel.select = (...methodPromises) =>
|
||||
Channel.select = methodPromises =>
|
||||
Object.assign(
|
||||
new Promise((resolve, reject) => {
|
||||
methodPromises.forEach(async promise => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue