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

should wsk action invoke be blocking by default? #406

Open
rabbah opened this issue Feb 8, 2019 · 3 comments
Open

should wsk action invoke be blocking by default? #406

rabbah opened this issue Feb 8, 2019 · 3 comments
Labels

Comments

@rabbah
Copy link
Member

rabbah commented Feb 8, 2019

today wsk action invoke is asynchronous and one must do -b or -r to get a blocking activation --- it seems that almost always when developing and testing the common case is for a blocking invoke.

should we flip the default and add -a for async?

@csantanapr
Copy link
Member

but don't error if they specify -b or -r to be backwards compatible?

there would be a new flag for async?

@csantanapr
Copy link
Member

there would be a new flag for async?
duh

should we flip the default and add -a for async?

@rabbah
Copy link
Member Author

rabbah commented Feb 8, 2019

correct -b and -r are preserved (-r still makes sense anyway because it produces a different out than -b) and a new flag --async|-a for the async case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants