-
-
Notifications
You must be signed in to change notification settings - Fork 266
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
client, server, core: Add StreamService interface and TerminalService device #1171
Conversation
bjia56
commented
Nov 11, 2023
- Add a new StreamService interface to connect bidirectional streams with AsyncGenerators
- Add a new TerminalService device to core plugin to replace existing server shell functionality
- Update client, ui to use new TerminalService device over connectRPCObject
…e connection teardown" This reverts commit 1b3c283.
plugins/core/src/terminal-service.ts
Outdated
} | ||
} | ||
|
||
setTimeout(async () => { |
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.
I think I had this setTimeout pattern before due to some weird issue with the event loop on engine.io. I think this can be replaced with an in place
(async() => {
... code
})()
looking good! had a few remaining questions, and remembered that all errors need be caught in the unmonitored promise inside the setTiemout. |