maxfischer2781 / chainlet

Python module for linking generators/iterators to processing chains
MIT License
1 stars 0 forks source link

Define asynchronous traversal rules #6

Open maxfischer2781 opened 7 years ago

maxfischer2781 commented 7 years ago

Chain traversal currently uses an arbitrary but strictly synchronous traversal method that is piecewise depth-first. For asynchronous, lazy and parallel traversal, an asynchronous model is required. Ideally, this does preserver the result of synchronous traversal.

maxfischer2781 commented 7 years ago

The current behaviour is depth-first and sensitive to join/fork.

1 >> 2 >> (3 >> 4, 5 >> 6) >> 7
maxfischer2781 commented 7 years ago

Notes for a/synchronous [A/S] traversal: