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

Handle signal emission for run in grc #7

Open
remyzorg opened this issue Sep 16, 2015 · 1 comment
Open

Handle signal emission for run in grc #7

remyzorg opened this issue Sep 16, 2015 · 1 comment

Comments

@remyzorg
Copy link
Owner

No description provided.

@remyzorg
Copy link
Owner Author

The possible solution is to use an object for the program description too :

let%sync p1 a = loop (emit a; pause)

let%sync p2 = 
  let b = () in
  loop (run p1 b;pause)

run p1 b generates p1#create_for_run (make_signal ()) at first execution

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