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

#enqueue should be blocking on the caller #49

Open
bklang opened this issue Feb 6, 2016 · 0 comments
Open

#enqueue should be blocking on the caller #49

bklang opened this issue Feb 6, 2016 · 0 comments

Comments

@bklang
Copy link
Member

bklang commented Feb 6, 2016

Most Adhearsion operations are blocking: if you start #play, or #ask (for example) the caller is blocked until the method returns some value. This makes developing easier for a lot of use-cases because you don't have to think about dealing with asynchronous behavior.

Right now, ES's #enqueue method is non-blocking. It should be blocking by default, and the documentation should show how to call the method both sync and async.

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