Open skorfmann opened 11 months ago
Can you provide some examples of filters? Are you thinking of something like:
topic.onMessage(match: "<some query language>", () => {
});
Can you provide some examples of filters? Are you thinking of something like:
topic.onMessage(match: "<some query language>", () => { });
Something based on https://docs.aws.amazon.com/sns/latest/dg/sns-subscription-filter-policies.html would be good. In particular string matchers would go a long way already.
Can update with actual use-cases once I get to the implementation of where we're planning to use it.
Hi,
This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
I tried this:
Applying a filter to
onMessage
so the subscription is invoked only on things I'm interested inThis happened:
no option to define a filter
I expected this:
being able to subscribe to certain events only
Is there a workaround?
override it in platform
Anything else?
No response
Wing Version
0.51.7
Node.js Version
18.7
Platform(s)
MacOS
Community Notes