mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-24 19:56:38 +00:00
Previously the control server could only handle a single request at a time. To enable local download mode, this needs to change as the client will be sending data to the CLI as it downloads the vscode server zip. This does that. There's a little mess since things that async handlers need to use are cloned out of the previously unified "context" (we could try and clone the whole context each time, but this is more work than needed.) We still keep the fast things as "blocking" since that avoids the need for clones and separate tasks.