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 untrackable StateVars #50

Open
graninas opened this issue May 29, 2020 · 0 comments
Open

Add untrackable StateVars #50

graninas opened this issue May 29, 2020 · 0 comments
Labels
advanced task enhancement New feature or request

Comments

@graninas
Copy link
Owner

graninas commented May 29, 2020

Currently, StateVars are tracked in the runtime. Spawning statevars should not be uncontrollable.

Add an untrackable variable. Possible solution:

newtype StateVar a
  = StateVar { _varId :: VarId }
  | UntrackedStateVar { _tvar :: TVar a }
@graninas graninas added advanced task enhancement New feature or request labels May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
advanced task enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant