Skip to content

Added promise with cancel with typescript support - #36293

Merged
igoristic merged 5 commits into
elastic:masterfrom
igoristic:28863
May 23, 2019
Merged

igoristic merged 5 commits into
elastic:masterfrom
igoristic:28863

Conversation

@igoristic

@igoristic igoristic commented May 8, 2019 •

Copy link
Copy Markdown
Contributor

Summary

Resolves #28863

Created a simple cancelable promise, and added basic support for typescript.

Typescript will only be compiled in x-pack/monitoring/common/* for now, and we'll add additional directories as we add more features / static class etc

Checklist

@igoristic igoristic added bug Fixes for quality problems that affect the customer experience Team:Monitoring Stack Monitoring team v7.0.1 v7.1.0 labels May 8, 2019
@elasticmachine

Copy link
Copy Markdown
Contributor

Pinging @elastic/stack-monitoring

@elasticmachine

Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine

Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine

Copy link
Copy Markdown
Contributor

💔 Build Failed

@igoristic
igoristic marked this pull request as ready for review May 22, 2019 17:36
@igoristic

Copy link
Copy Markdown
Contributor Author

retest

@chrisronline chrisronline left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This works great. Code is clean and well written. Great job! LGTM!

@elasticmachine

Copy link
Copy Markdown
Contributor

💔 Build Failed

@igoristic

Copy link
Copy Markdown
Contributor Author

retest

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@igoristic
igoristic deleted the 28863 branch May 23, 2019 06:02
igoristic added a commit to igoristic/kibana that referenced this pull request May 23, 2019
* Added promise with cancel

* Fixed imports

* Fixed an async unit test
igoristic added a commit to igoristic/kibana that referenced this pull request May 23, 2019
* Added promise with cancel

* Fixed imports

* Fixed an async unit test
@igoristic

igoristic commented May 23, 2019 •

Copy link
Copy Markdown
Contributor Author

Backport:
7.x: 63804af

@ycombinator

Copy link
Copy Markdown
Contributor

@igoristic I see that this PR was merged ~6 hours ago. At that time, version 7.1.0 of Kibana had already been released. So we should remove the 7.1.0 label from this PR. Otherwise it will be confusing to users who try to figure out which releases this fix went into.

igoristic added a commit that referenced this pull request May 23, 2019
* Added promise with cancel

* Fixed imports

* Fixed an async unit test
@igoristic igoristic removed the v7.1.0 label May 23, 2019
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
* Added promise with cancel

* Fixed imports

* Fixed an async unit test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Fixes for quality problems that affect the customer experience Team:Monitoring Stack Monitoring team v7.2.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Monitoring] Ensure we reset the fetch data promise

4 participants