Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

parameterization isn't captured by endpoints #31

Open
tonyg opened this issue Oct 20, 2017 · 0 comments
Open

parameterization isn't captured by endpoints #31

tonyg opened this issue Oct 20, 2017 · 0 comments
Labels

Comments

@tonyg
Copy link
Owner

tonyg commented Oct 20, 2017

(spawn (parameterize ((id 'monitor))
         (on (retracted (bot-running $id))
             (random-sleep 5)
             (bot))))

This could close over the parameterization in the script in the on endpoint. It doesn't at present, meaning that the random-sleep and bot calls run with the parameter at its default value, not 'monitor.

Should it close over the parameterization?

@tonyg tonyg added the design label Oct 20, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant