-
-
Notifications
You must be signed in to change notification settings - Fork 117
feat: Devtools - A separate, lightweight event bus -- utilizing Dispatch (Sync) #950
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
Closed
Closed
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
859468e
observe dispatch (sync)
theVedanta 1cfd7ef
small change in cancel()
theVedanta 5fe505c
terminology -- observe
theVedanta 8dcba1c
Event bus and logger observe() API in effect
theVedanta 0f8cec0
timestamp + abstractions
theVedanta 8a7b56e
Moving logger on client as observer
theVedanta 3cd95e0
removed client id
theVedanta be0b792
removed event bus & replaced w/ ObserveDispatch
theVedanta 353fcaa
stronger typesafety
theVedanta a5990bb
logger removed -- client now subscribes with eventBus
theVedanta d37a487
overlooked errors
theVedanta cd9a4e2
warning type
theVedanta 75153b1
merge
theVedanta 820a8cc
merge-related changes
theVedanta b6999f7
more merge changes
theVedanta c8a2c3f
devtools bus map changed + logger separately added
theVedanta d89ca14
more merge
theVedanta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Shouldn't this logic (which replicates the old logger, right?) be in mosaic core so that people can easily get the old logger behavior again?
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.
ahh. we can definitely do that. My mistake, I felt that when we said 'remove the logger from core entirely,' we give the client the option to write that logic. I can put this function in core to give back a logger util to the user/client (perhaps we can discuss that idea some more (?))
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.
IIRC the idea was to remove the logger but give users an equivalent tool via the new bus.