-
Notifications
You must be signed in to change notification settings - Fork 7
Entities Mode #20
Comments
is it going to fire all the |
@tadatuta Feels like this tactic would be the only possible for flat scheme. But for nested you'll got time lags between these events because there you can read dirs one by one and emit event on the end of reading directory instead of full scan. |
if I understood idea right, you can't emit until all the levels are checked |
@tadatuta Actually, you can if you doing it right. Let's assume you have these:
You should read blocks in levels first, and then contents of blocks. upd: actually, you can even tune your strategy here if some blocks can be quickly emitted (e.g. b1). Simple. Once again, this order doesn't mean anything for small projects/libraries. It means only for huge ones. But there are enough huge projects to start thinking about it imo. |
Scheme can know when it scan files for depth.
It is mean that no need wait until all levels will be scanned. Log example:
|
For a start we can wait until all levels will be scaned and do optimization later. |
Related #54 |
The event will emit when will provide information on an entity with each file in each level.
Example of file system:
Run the following code:
The result will be 4 events:
The text was updated successfully, but these errors were encountered: