Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement event executer #12

Closed
7k8m opened this issue Mar 18, 2016 · 5 comments
Closed

Implement event executer #12

7k8m opened this issue Mar 18, 2016 · 5 comments

Comments

@7k8m
Copy link
Owner

7k8m commented Mar 18, 2016

Thinking server like use of json.filed and idea of event executer.

What is difficult for event executer is that file is not fixed before event is fired.
This difficulty affects collect executer and roots executer.

@7k8m
Copy link
Owner Author

7k8m commented Mar 18, 2016

Now .exec function start root executer once.
Event executer is likely to be executed multiple times as events are fired.

@7k8m
Copy link
Owner Author

7k8m commented Mar 18, 2016

Difference between file and event.

File can be changed but fixed on file system in any way but event is not fixed at all.
Event happen at any time and many times.

If thinking event as a file, it is dynamically generated file.

@7k8m
Copy link
Owner Author

7k8m commented Mar 18, 2016

The difference would be some how similar to stream of socket and that of file ...

@7k8m
Copy link
Owner Author

7k8m commented Mar 18, 2016

I think found some answer...
There would be event to receive and event to end receiving...

@7k8m
Copy link
Owner Author

7k8m commented Mar 18, 2016

commit da33e18
Author: Tomohito Nakayama tmnk@nysalor.local
Date: Fri Mar 18 23:55:16 2016 +0900

testAll passes

commit 0bda57d
Author: Tomohito Nakayama tmnk@nysalor.local
Date: Fri Mar 18 23:52:08 2016 +0900

newly added testEvent.js passes

commit d65e8fd
Author: Tomohito Nakayama tmnk@nysalor.local
Date: Fri Mar 18 23:14:42 2016 +0900

event executer implemented and pass existing tests

commit 497f58b
Author: Tomohito Nakayama tmnk@nysalor.local
Date: Fri Mar 18 22:34:12 2016 +0900

introduce rootPlan and test passes

commit c42e7b9
Author: Tomohito Nakayama tmnk@nysalor.local
Date: Fri Mar 18 19:13:51 2016 +0900

Introduce rootExecuter class

@7k8m 7k8m closed this as completed Mar 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant