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
Improved Bridge (more inline with how node works) #100
Conversation
|
This changes the Bridge usage a bit:
Usage:
Output:
|
03dac08
to
1f93989
Compare
|
1f93989
to
584fdff
Compare
|
This also works with multiple subprocesses: Example:
Output:
|
584fdff
to
8430985
Compare
|
8430985
to
e5c6aba
Compare
|
bump! |
I want to get this merged in pretty quckly so speak y'all :) I have a use-case for this improved bridge in oss6/statico#12 |
@prologic I never use the bridge (I use node for dispatch the events on process / host) |
@treemo Yeah that's cool! I tried to modify the bridge such that it has a very similar API and usage to Node :) What do you think anyway? |
I'll give my feedback in the evening (in german time zone). |
|
I think the change is really nice, i like explicity... But I don't like the event name |
The reason I called it
|
@ALL Okay so we could call the event Was just thinking about this; you could also message the parent, not just the child. For example in pingpong.py |
Bump :) Also see: https://gist.github.com/prologic/7bb5bbcecfb79bfdc841 Just playing around here... Could turn into something more concrete! |
|
bump |
26d4545
to
68a6a8d
Compare
|
I'm going to rename the event to |
cd83397
to
f0d320b
Compare
No description provided.