Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

[WIP] Remove synchronous logic from generator requests #387

Closed
wants to merge 1 commit into from

Conversation

olexii4
Copy link
Contributor

@olexii4 olexii4 commented Aug 1, 2019

Signed-off-by: Oleksii Orel oorel@redhat.com

What does this PR do?

Remove synchronous logic from generator requests. Improve the algorithm. Fix tests.

What issues does this PR fix or reference?

eclipse-che/che#14039

Release Notes

Docs PR

Signed-off-by: Oleksii Orel <oorel@redhat.com>
@olexii4
Copy link
Contributor Author

olexii4 commented Aug 1, 2019

I reworked the implementation for some part of the code and tests. But I stuck with "resourceUrl". It seems cannot be asynchronous. It should be discussed.
@davidfestal WDYT?

}
vsLoader(context: any): void {
const loaderURL = this.url(this.info.monaco.vsLoader.cdn, this.info.monaco.vsLoader.external);
async vsLoader(context: any): Promise<void> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK this method can't be asynchronous

@davidfestal
Copy link
Contributor

@olexii4 I don't think I'll be able to work on this before Che 7 GA, due to time constraints / vacations.
Anyway, the underlying issue has been postponed to after GA: eclipse-che/che#14039 (comment)
But feel free to continue investigation with @benoitf and testing what is possible and what is not.

@olexii4 olexii4 closed this Aug 14, 2019
@olexii4 olexii4 deleted the CHE-14039 branch August 14, 2019 12:48
vinokurig pushed a commit that referenced this pull request Apr 6, 2021
Signed-off-by: svor <vsvydenk@redhat.com>
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.

3 participants