-
Notifications
You must be signed in to change notification settings - Fork 12
Conversation
Thank you for your contribution and Welcome to our Open Source Community! To make sure your pull request is successful, we need all our contributors to be identifiable, but we couldn't parse the GitHub details of the following people : Nicholas Kolba Luckily, resolving the issue is straightforward and you can resolve it by following the instructions below.
Alternatively, use the slightly more complex If you have any issues with the steps above, please email help@finos.org so we can help you resolve before reviewing and accepting your pull request. Thanks once again for the contribution and understanding. cc @finos-admin |
Thank you for your contribution and Welcome to our Open Source Community! To make sure your pull request is successful, we need all our contributors to be identifiable, but we couldn't parse the GitHub details of the following people : Nicholas Kolba Luckily, resolving the issue is straightforward and you can resolve it by following the instructions below.
Alternatively, use the slightly more complex If you have any issues with the steps above, please email help@finos.org so we can help you resolve before reviewing and accepting your pull request. Thanks once again for the contribution and understanding. cc @finos-admin |
/** | ||
* Adds a listener for incoming contexts whenever a broadcast happens from this instance. | ||
*/ | ||
addContextListener(handler: ContextHandler): Listener; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why have overloading for the same method name rather than calling this something like addBroadcastListener
? Having a dedicated method for the separate context makes the developer intent clear and less error-prone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
excellent question. I think the distinction you are making is listening for a specific context type (addContextListener) and listening for any broadcast (addBroadcastListener)?
The API is coming from the FDC3 standard - and has evolved somewhat over time - so there is definitely opportunity for adjustment.
closed due to cla-bot issues - will reopen. |
This is a demo implementation of AppInstances and supporting data intents, as proposed in PR #287 to FDC3. Highlights include:
Still to do: