Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Revert change to canUseEvents in IoSessionOptions#22791

Merged
1 commit merged into
mastermicrosoft/TypeScript:masterfrom
canUseEventsmicrosoft/TypeScript:canUseEventsCopy head branch name to clipboard
Mar 22, 2018
Merged

Revert change to canUseEvents in IoSessionOptions#22791
1 commit merged into
mastermicrosoft/TypeScript:masterfrom
canUseEventsmicrosoft/TypeScript:canUseEventsCopy head branch name to clipboard

Conversation

@ghost

@ghost ghost commented Mar 22, 2018

Copy link
Copy Markdown

Fixes #22790 (tested in a local build with vscode)
In #22591 this was changed from hardcoded true to eventPort !== undefined.

@amcasey

amcasey commented Mar 22, 2018

Copy link
Copy Markdown
Member
  1. Oops
  2. How does VS Code get events without using eventPort?
  3. Can we eliminate the flag altogether if it's always true?

@mhegazy

mhegazy commented Mar 22, 2018

Copy link
Copy Markdown
Contributor

How does VS Code get events without using eventPort?

eventPort is rely a VS construct to avoid needing to handle async events on the same io channel as sync messages

Can we eliminate the flag altogether if it's always true?

yes.. probably..

@ghost ghost merged commit 67670d8 into master Mar 22, 2018
@ghost ghost deleted the canUseEvents branch March 22, 2018 17:29
@ghost

ghost commented Mar 22, 2018

Copy link
Copy Markdown
Author

yes.. probably..

That option is public though.

@mhegazy

mhegazy commented Mar 22, 2018

Copy link
Copy Markdown
Contributor

humm.. @aozgaa looked into this a while back.. i think he might know more.

@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.