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

Using the @request macro in the Bank Renege example #35

Closed
ajkeith opened this issue Aug 18, 2017 · 2 comments
Closed

Using the @request macro in the Bank Renege example #35

ajkeith opened this issue Aug 18, 2017 · 2 comments

Comments

@ajkeith
Copy link
Contributor

ajkeith commented Aug 18, 2017

First I'd like to say thanks for the very useful package!

I'm trying to follow along with the bank renege example from the documentation but it looks like that example code is a little behind the stable release (e.g., @Process vs @process). Once I fix those I get an error when the Request() block runs. I saw in some other comments that you're working on the documentation but I was wondering if you could point me to some more info on the @request macro (or if I should be using Request() ).

Thanks!

@BenLauwens
Copy link
Collaborator

Hi

Sorry for the limited documentation;)
You can look at processes_MM1.jl to have an example with processes (Julia Tasks) and the request do construct or you can look at coroutines_MM1.jl for coroutines and the @request macro.
Replacing Process with process and Request with request would normally do the trick.
Kind regards

Ben

@ajkeith
Copy link
Contributor Author

ajkeith commented Aug 26, 2017

Thanks for the pointers!

@ajkeith ajkeith closed this as completed Aug 26, 2017
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

2 participants