Creating a dynamic list of robot.respond at runtime?
See original GitHub issueNB: I’m not sure if this is quite in-scope for this issue tracker, please let me know if it’s not.
Is there an easy way within Hubot to create a list of dynamic robot.responds
at runtime?
For example, I’d like to retrieve a set of keys from a remote HTTP API (JIRA project codes, in this case).
I’d then like to create a robot.respond
for each of the returned keys. Is there a recommended or idiomatic way of doing this in JS/Hubot?
Issue Analytics
- State:
- Created 9 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
create robot framework Test Case dynamically on running test ...
by creating a listener; by creating own keyword. In both cases, I have to put the logic there, but can't figure out how...
Read more >Programming for Robotics, Lecture 4 - YouTube
The fourth lecture in the Programming for Robotics course discusses ROS services; ROS actions (actionlib); ROS time; ROS bags and Debugging ...
Read more >Dynamic Robot Manipulation: Learned Optimization ...
Speaker: Jeffrey Ichnowski, UC BerkeleyAbstract: Robots in unstructured environments manipulate objects slowly and intermittently, ...
Read more >Enabling the collection of Pega Robot Runtime data for reporting
In the navigation pane of Pega Robot Manager, click SettingsRuntime configs. On the Runtime configs tab, click the RuntimeConfig.xml version ...
Read more >Dynamic Memory Allocation In C++ - Edureka
If the program needs to use a variable amount of memory we would need to allocate memory during runtime, as and when needed....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This could be enabled by building on top of #986. There would likely be a little code duplication around regex matching, but I don’t think that is terrible. All of the complicated logic (generating a respond pattern) is readily available.
Alternatively, you could use the idea @technicalpickles originally proposed now that #801 has merged.
Closing since this can be built on top of existing functionality.