mirror of
https://github.com/flynx/walk.js.git
synced 2025-12-20 02:21:46 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
dde43d93f7
commit
d91fbb5c3a
10
walk.js
10
walk.js
@ -27,13 +27,9 @@
|
||||
// NOTE: state can not be a function...
|
||||
//
|
||||
//
|
||||
// XXX Q: should next('queue', ...) return a promise???
|
||||
// ...currently I think no, there is no need to complicate things as
|
||||
// the getter will eventually get all the queued nodes anyway and
|
||||
// done(..) will get called when everything processed...
|
||||
// XXX this is essentially a version of .reduce(..), I wonder if it is
|
||||
// feasible to do a version of .map(..), i.e. a mechanism to modify/clone
|
||||
// the input tree...
|
||||
// XXX this is essentially a version of .reduce(..)
|
||||
// ...is feasible to do a version of .map(..), i.e. a mechanism to
|
||||
// modify/clone the input tree???
|
||||
// XXX can we hint chrome to show the two function singatures???
|
||||
// XXX need to remove the restriction of not being able to pass functions
|
||||
// into state unless done(..) is given...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user