You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue came up in thinking about how to allow agents to asynchronously await events in order to dictate their actions. There are likely multiple ways to accomplish this, but here's an outline.
Allow the SimulationEnvironment to own write control over a buffer where events are written. Upon any call to execution, events should be echoed into this buffer.
Agents need read only access to the buffer and as such they can read from this buffer without the buffer needing to be mutex since agents will not write -- only the environment/EVM instance will write. Agents need a function to access these logs.
Agents will also need some type of async await function that lets them constantly poll for updates in event logs.
The text was updated successfully, but these errors were encountered:
This issue came up in thinking about how to allow agents to asynchronously await events in order to dictate their actions. There are likely multiple ways to accomplish this, but here's an outline.
SimulationEnvironment
to own write control over a buffer where events are written. Upon any call to execution, events should be echoed into this buffer.The text was updated successfully, but these errors were encountered: