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

Add support for incremental Scope #68

Closed
MichaReiser opened this issue Oct 10, 2016 · 0 comments
Closed

Add support for incremental Scope #68

MichaReiser opened this issue Oct 10, 2016 · 0 comments

Comments

@MichaReiser
Copy link
Owner

It's hard to determine the end of a parallel chain in the static code rewriter. This makes it difficult to call inEnvironment at the appropriate time. Besides, user calls to inEnvironment may conflict with added calls from the rewriter resulting in not well defined parallel chains --- that results in runtime errors.

Therefore, the api should be redefined to guarantee a safe usage of inEnvironment and the static code rewriter together.

  • Add support to define an environment provider and environment
  • inEnvironment for an object hash does not replace the environment, instead it merges the current environment with the givne one
  • The result of the provider and static environment is merged in the worker, the values from the provider have a higher precedence then the one of the static environments.
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

No branches or pull requests

1 participant