Closed ghost closed 7 years ago
Other instances of this pattern that should be looked at:
examples/Alerter/send.py
volttrontesting/utils/platformwrapper.py
volttron/platform/vip/agent/core.py
(used correctly)volttron/platform/vip/agent/connection.py
volttron/platform/vip/agent/utils.py
new issue for 4.1 is #1107
@mikeroup do you mind if I make the changes to some of these? I think most of them actually were my code!
@mikeroup See #1020 for coments on how we need to revamp the ForwardHistorian. However for the 4.0.1 release lets just do the minimal and use the utility functions for creating agents or connections to the external platform.
The
event.wait(timeout=10)
will block for up to ten seconds and return false if the event is not set.