-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
TerminalShellExecution#createDataStream
#208640
Comments
I was thinking about this guideline when I switched it to a method as it's creating a new object every call:
Can switch it back, is it worth a discussion in the API sync? |
vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.ts Lines 243 to 258 in b0d975f
I don't think it does create a new object but that's also not the point here. Your data is never sync with an async iterable but the point is the consumer should just have |
@jrieken I might be doing something wrong as I don't think I've used an async iterable before, but doesn't this need to return a separate iterable per call in order to support multiple extensions? Currently the
vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.ts Lines 278 to 285 in b0d975f
|
Oh, I missed the |
Maybe a better name for a method would be |
Testing #208462
The
TerminalShellExecution#createDataStream
should be a plain property and not a methodThe text was updated successfully, but these errors were encountered: