Skip to content
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

concurrent: Tag DirectExecutionContext. #7517

Merged

Conversation

ghost
Copy link

@ghost ghost commented Sep 29, 2020

  1. Tag DirectExecutionContext as ExecutionContext[Nothing], thereby stating that it works for any tagged Future.
  2. Move DirectExecutionContext to the libs-scala/concurrent library, as it requires it and it's tiny.

Pull Request Checklist

  • Read and understand the contribution guidelines
  • Include appropriate tests
  • Set a descriptive title and thorough description
  • Add a reference to the issue this PR will solve, if appropriate
  • Include changelog additions in one or more commit message bodies between the CHANGELOG_BEGIN and CHANGELOG_END tags
  • Normal production system change, include purpose of change in description

NOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with /AzurePipelines run to
trigger the build.

1.  Tag `DirectExecutionContext` as `ExecutionContext[Nothing]`, thereby
    stating that it works for any tagged `Future`.
2.  Move `DirectExecutionContext` to the _libs-scala/concurrent_
    library, as it requires it and it's tiny.

CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
@ghost ghost mentioned this pull request Sep 29, 2020
@ghost ghost added the automerge label Sep 29, 2020
@mergify mergify bot merged commit f0c1eb2 into master Sep 29, 2020
@mergify mergify bot deleted the samir/libs-scala/concurrent/tagged-direct-execution-context branch September 29, 2020 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants