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

Specify and create an executionContext/pause and unpause methods #471

Closed
4 tasks
kustosz opened this issue Apr 28, 2020 · 0 comments
Closed
4 tasks

Specify and create an executionContext/pause and unpause methods #471

kustosz opened this issue Apr 28, 2020 · 0 comments
Assignees
Labels
p-medium Should be completed in the next few sprints

Comments

@kustosz
Copy link
Contributor

kustosz commented Apr 28, 2020

Summary

We should give the IDE an option to temporarily disable automatic execution. To that end, we need to design and implement additional messages in the protocol.

Value

When building a pipeline consisting of computationally expensive steps, it is sometimes useful to postpone execution until a larger amount of work has been done. Pausing automatic execution allows to achieve that.

Specification

The pause and unpause messages should stop and resume automatic execution of execution contexts on changes. The contexts should still watch the source changes and update their internal state, but abstain from actually executing user code and sending expression value updates.

Even when paused, the visualizations system should remain unaffected (allowing the users to use visualizations for pre-computed values).

  • Specify the executionContext/pause and executionContext/unpause messages in the protocol document.
  • Determine how these should work internally.
  • Implement these messages in the language server.
  • Implement their backing functionality in the backend.

Acceptance Criteria & Test Cases

  • The functionality is well documented and tested automatically.
@iamrecursion iamrecursion transferred this issue from another repository Jun 23, 2020
@joenash joenash added p-medium Should be completed in the next few sprints Type: Bug and removed Type: Bug labels Jun 23, 2020
@iamrecursion iamrecursion mentioned this issue Jun 24, 2020
26 tasks
@iamrecursion iamrecursion modified the milestone: Sprint 2020-08-02 Jul 31, 2020
@wdanilo wdanilo closed this as completed Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p-medium Should be completed in the next few sprints
Projects
None yet
Development

No branches or pull requests

5 participants