mirror of
https://github.com/flynx/walk.js.git
synced 2025-12-20 10:31:45 +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...
|
// NOTE: state can not be a function...
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// XXX Q: should next('queue', ...) return a promise???
|
// XXX this is essentially a version of .reduce(..)
|
||||||
// ...currently I think no, there is no need to complicate things as
|
// ...is feasible to do a version of .map(..), i.e. a mechanism to
|
||||||
// the getter will eventually get all the queued nodes anyway and
|
// modify/clone the input tree???
|
||||||
// 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 can we hint chrome to show the two function singatures???
|
// XXX can we hint chrome to show the two function singatures???
|
||||||
// XXX need to remove the restriction of not being able to pass functions
|
// XXX need to remove the restriction of not being able to pass functions
|
||||||
// into state unless done(..) is given...
|
// into state unless done(..) is given...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user