This website requires JavaScript.
Explore
Help
Sign In
elsanctum
/
tenquestionmarks
Watch
2
Star
0
Fork
0
You've already forked tenquestionmarks
Code
Issues
8
Pull Requests
Releases
Wiki
Activity
Files
37a9645f5bf3549186d3ae3f67530b9ba4350c04
tenquestionmarks
/
src
History
Adrian Malacoda
37a9645f5b
Simplify module trait by combining produce/consume event methods into a single run method that runs in the module's own thread and can produce and/or consume events. Introduce an Envelope struct that encapsulates event + to/from so we can (eventually) tag every event and also limit where events are sent (e.g. you can have a specific module configured to talk or listen only to a certain other module).
2017-02-25 20:17:46 -06:00
..
event
Simplify module trait by combining produce/consume event methods into a single run method that runs in the module's own thread and can produce and/or consume events. Introduce an Envelope struct that encapsulates event + to/from so we can (eventually) tag every event and also limit where events are sent (e.g. you can have a specific module configured to talk or listen only to a certain other module).
2017-02-25 20:17:46 -06:00
helpers
create a dedicated Message struct and implement reply(&str) on there, since it seems to be a commonly used thing. Begin implementing helpers for command parsing.
2017-02-19 05:37:56 -06:00
modules
Simplify module trait by combining produce/consume event methods into a single run method that runs in the module's own thread and can produce and/or consume events. Introduce an Envelope struct that encapsulates event + to/from so we can (eventually) tag every event and also limit where events are sent (e.g. you can have a specific module configured to talk or listen only to a certain other module).
2017-02-25 20:17:46 -06:00
lib.rs
Simplify module trait by combining produce/consume event methods into a single run method that runs in the module's own thread and can produce and/or consume events. Introduce an Envelope struct that encapsulates event + to/from so we can (eventually) tag every event and also limit where events are sent (e.g. you can have a specific module configured to talk or listen only to a certain other module).
2017-02-25 20:17:46 -06:00
main.rs
Simplify module trait by combining produce/consume event methods into a single run method that runs in the module's own thread and can produce and/or consume events. Introduce an Envelope struct that encapsulates event + to/from so we can (eventually) tag every event and also limit where events are sent (e.g. you can have a specific module configured to talk or listen only to a certain other module).
2017-02-25 20:17:46 -06:00