-
Notifications
You must be signed in to change notification settings - Fork 9
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
Introduce Event aggregator #417
Conversation
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.
Changes requested on #505
@@ -1,49 +1,46 @@ | |||
using Speckle.Connectors.DUI.Bindings; | |||
using Speckle.Connectors.DUI.Bridge; | |||
using Speckle.Connectors.DUI.Eventing; | |||
using Speckle.Connectors.RhinoShared; |
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 do we importing from RhinoShared in Tekla?
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.
The events were declared in the wrong namespace but fixed in another PR: b5871d5
Probably done at the same time: #505 |
* Support async publish but async or sync subscribe * Publish with tests * more sub overloads * added onetime tests that fail * Reorganized events to have async and sync * adjust subscriptions * Rhino fixes * use async eventing everywhere and add docstore init method * clean up * add handlers for unobserved task exceptions * fix usage of exception handler to include one time users * fix(civil3d): handles property exceptions for corridor elements (#508) * Update GeneralPropertiesExtractor.cs * Update GeneralPropertiesExtractor.cs * Update CorridorDisplayValueExtractor.cs * Fix weak references * Fix TeklaEvents namespace * Anonymous methods are always created as strong references * refactor to have features --------- Co-authored-by: Claire Kuang <[email protected]>
https://www.notion.so/speckle/Event-Aggregation-174b78fc7aa6806a86e7f451fa7c4b96
Decouples exception handler from browser bridge.
IdleManager is now a OneTime event with IDs.
Rhino is converted.
Global Events (Doc changed) are converted.
More events to come!