Acrions, triggers, and queries #14
Labels
enhancement
New feature or request
Request Input
These are issues about the design of the language, and thus should be discussed
This ties together with Conditional Bindings
Basically, actions, triggers and queries form a natural way to "act" or "respond to" events that submodules create. The natural implementation is adding an extra "invisible" condition wire, that is "1" when the action needs to be triggered (and thereby the associated data is valid).
Actions are triggered by the parent module. They tell the submodule to do something
Triggers are signals sent by a submodule. They tell the parent module to do something
Queries are initiated by the parent module, they're basically an action, that is fallible. So the response from the submodule is conditional.
The text was updated successfully, but these errors were encountered: