-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EventMixer Agent #262
Comments
I'll probably work on this when I have time, unless someone else wants to take it on. Just wanted to get functional ideas written down and out for comment. Example use case: User wants to check the balance of a checking account and a credit card periodically and automatically make a payment if the balance of the checking account is greater than the credit card. Since the data would come from two different sources and both pieces of data need to be present to make a decision in a TriggerAgent, the event mixer would need to combine them and re-emit, but only if both events were generated by their respective agents. |
That makes sense. It would be awesome if you could attempt a general solution for it. Maybe you tell it how many events from each source it needs before it re-emits? It's kind of a hard Agent to generalize for every use case. |
start simple, right? can always add more functionality later. |
Agreed :) |
Along this line of thinking (but not necessarily related), is it possible to output multiple different types of events from the one agent? I've been meaning to look into a 'splitter' type agent, but haven't had the time to see if a) it's possible and b) if it already exists in some way. I assume it's probably already possible to do, at least on an individual agent level (outputting different event types) Along another similar line (sorry for hijacking the thread!), is there currently any concept of a 'global' event listener (that doesn't need to be manually wired up), and if not, does the event propagation architecture support this sort of thing easily/at all? @cantino / anyone else who could answer my rambling thoughts :) |
@alias1, maybe you can start an issue to discuss this? I'd like to know more what you mean by a "splitter" agent. It should be possible to make an Agent listen to everything, although it might not be very performant. |
Hi, |
Ideas/Specs for a new agent:
EventMixer would take multiple incoming events and combine them into one outgoing event.
Multiple modes of functionality:
"Waiting" mode
It should:
"Automatic" mode
It should:
"Scheduled" mode
it should:
The text was updated successfully, but these errors were encountered: