Open
Description
Question Area
- App Directory
- API
- Context Data
- Intents
- Use Cases
- Other
Question
What should happen in the situation where for example app does:
await fdc3.addContextListener('fdc3.contact', (contact, metadata) => {... });
await fdc3.addContextListener('fdc3.contact', contact => { ... });
Or some different handler?
I see 3 possible options (in no particular order):
- Override the previous handler and keep the last one
- Keep and trigger both handlers (potential conflicts?)
- Throw an error and keep the original
Does the standard have any ruling on this, I was not able to find on the docs (please, let me know if I missed it)?