Paul Grau
|
c8c0fba502
|
Added types
|
2021-07-18 14:56:44 +09:00 |
|
David
|
ed06cb080e
|
Rewrite filter .
|
2021-02-08 16:29:32 -06:00 |
|
David
|
ecdabfe51e
|
Format using new version of Prettier.
|
2021-02-08 15:20:06 -06:00 |
|
David
|
fd503a978c
|
Add 'Channel.all'.
|
2021-02-02 14:58:39 -06:00 |
|
David Braun
|
fb598b0270
|
Make slice handle case of no start provided.
|
2019-04-24 10:51:00 -04:00 |
|
David Braun
|
6b1c55cff3
|
Add flat and flatMap .
|
2019-04-24 10:22:46 -04:00 |
|
David Braun
|
3d17e23338
|
Stop map from returning buffered channels.
|
2019-04-06 09:29:12 -04:00 |
|
David Braun
|
3ff3031b1e
|
Simplify implementation of select .
|
2019-03-20 11:09:26 -04:00 |
|
David Braun
|
3e92604d18
|
Simplify processOrders, fixing buffer off-by-one error.
|
2018-10-22 21:47:18 -04:00 |
|
David Braun
|
58fe68f1c4
|
Simplify handling of promises as values.
|
2018-10-22 15:59:06 -04:00 |
|
David Braun
|
cdfb4655b5
|
Allow asynchronous callback functions in filter .
|
2018-08-27 16:40:01 -04:00 |
|
David Braun
|
237f5c302b
|
Channel.isChannel: Work with 'undefined' and 'null'.
|
2018-04-26 13:09:28 -04:00 |
|
David Braun
|
fda1c036b4
|
minor clean-ups
|
2018-04-26 13:08:46 -04:00 |
|
David Braun
|
c71312c22f
|
Add some comments.
|
2018-03-28 13:35:45 -04:00 |
|
David Braun
|
57247c6d10
|
Allow promises to be passed through a channel.
|
2018-03-28 13:35:11 -04:00 |
|
David Braun
|
95a575fd2d
|
Fix #2.
|
2018-03-13 16:59:17 -04:00 |
|
David Braun
|
4a4a2db7ed
|
map: Return a buffered channel if appropriate.
|
2018-02-20 14:42:35 -05:00 |
|
David Braun
|
4315a28f0c
|
Add test coverage.
|
2017-12-06 14:32:42 -05:00 |
|
David Braun
|
46bb4c371b
|
Add concat .
|
2017-11-28 13:28:02 -05:00 |
|
David Braun
|
1fc2308f08
|
reduce: Require initialValue in functional interface.
|
2017-11-28 11:39:37 -05:00 |
|
David Braun
|
9c18fc7055
|
from and of : Return read-only channels.
|
2017-10-22 13:04:54 -04:00 |
|
David Braun
|
8088d7e096
|
from: Support 'mapfn'.
|
2017-10-22 02:59:29 -04:00 |
|
David Braun
|
6b577ea6cd
|
from: Accept a callback function.
|
2017-10-21 15:31:59 -04:00 |
|
David Braun
|
8c26f23ead
|
Rewrite buffered channel test.
|
2017-10-21 15:31:24 -04:00 |
|
David Braun
|
5470201c79
|
value: Convert from a getter to a method.
|
2017-10-20 21:42:50 -04:00 |
|
David Braun
|
8ec8fdacb2
|
Fix two test bugs.
|
2017-10-18 20:05:25 -04:00 |
|
David Braun
|
b2f9c00e0f
|
test/go/perm: Fix to work with new select.
|
2017-10-18 15:10:11 -04:00 |
|
David Braun
|
a0a68ab8d1
|
Add length .
|
2017-10-18 15:03:52 -04:00 |
|
David Braun
|
3af150ae49
|
Channel.select: Complain if not passed an array.
|
2017-10-18 15:03:52 -04:00 |
|
David Braun
|
32af6e8987
|
Channel.select: Reword error message.
|
2017-10-18 15:03:51 -04:00 |
|
David Braun
|
b9901df29a
|
Add values .
|
2017-10-18 15:03:51 -04:00 |
|
David Braun
|
f07e849662
|
Add toString .
|
2017-10-18 15:03:51 -04:00 |
|
David Braun
|
a2746f6e68
|
Channel.select: Complain when given non-channel method promises.
|
2017-10-18 13:25:00 -04:00 |
|
David Braun
|
b5c96177e4
|
Channel.select test: Simplify.
|
2017-10-18 13:25:00 -04:00 |
|
David Braun
|
1b1192c0e7
|
Functional API: Fix off-by-one bug.
|
2017-10-18 13:24:54 -04:00 |
|
David Braun
|
ce97802a8e
|
Add some .
|
2017-10-17 11:05:40 -04:00 |
|
David Braun
|
d7c117619a
|
Functional application: Allow any granularity of arguments (currying, essentially).
|
2017-10-17 11:05:40 -04:00 |
|
David Braun
|
6ea2b8bafe
|
Select: Make compose-friendly by taking a known number of arguments.
|
2017-10-17 11:05:40 -04:00 |
|
David Braun
|
d7355e17e1
|
Replace JavaScript Standard Style with Prettier.
|
2017-10-16 15:35:37 -04:00 |
|
David Braun
|
67012b6f4b
|
select: Make promise cancellable.
|
2017-10-15 13:32:40 -04:00 |
|
David Braun
|
03ebfaf7ab
|
Move functional interface tests out of select tests.
|
2017-10-15 12:39:17 -04:00 |
|
David Braun
|
ecc01b686e
|
reduce: Throw TypeError if the channel contains no values and initialValue is not provided.
|
2017-10-13 21:32:27 -04:00 |
|
David Braun
|
7d0d203c2e
|
Add Channel.isChannel .
|
2017-10-11 21:50:59 -04:00 |
|
David Braun
|
a54414ac42
|
Add test/go/perm.js.
|
2017-10-11 11:37:57 -04:00 |
|
David Braun
|
17a2688291
|
Add every .
|
2017-10-11 04:46:12 -04:00 |
|
David Braun
|
8da51305eb
|
Add functional API.
|
2017-10-11 03:32:47 -04:00 |
|
David Braun
|
f2c26591a1
|
Warn about attempting to push multiple values at once.
|
2017-10-08 15:35:50 -04:00 |
|
David Braun
|
8c599e8e5c
|
Initial release.
|
2017-10-06 21:01:34 -04:00 |
|