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

Create a function to execute non async tasks asynchronousely #88

Closed
1 of 2 tasks
pierre-emmanuelJ opened this issue Jan 21, 2019 · 2 comments
Closed
1 of 2 tasks
Labels
enhancement New feature or request

Comments

@pierre-emmanuelJ
Copy link
Member

pierre-emmanuelJ commented Jan 21, 2019

Can be useful for #87
PR: #89

  • egoscale.command

  • egoscale.booleanRequest Doesn't implement command interface

@pierre-emmanuelJ pierre-emmanuelJ added the enhancement New feature or request label Jan 21, 2019
@greut
Copy link
Contributor

greut commented Jan 23, 2019

egoscale.booleanRequest Doesn't implement command interface

💩

@greut
Copy link
Contributor

greut commented Jan 23, 2019

Command ⊂ AsyncCommand
AsyncCommand ⊅ Command

Any AsyncCommand is also a Command. The opposite is false though.

BooleanRequest is only a helper method for commands where the (Async)Response is a booleanResponse. You man run them through the usual pipe, although you won't be able to cast it back to anything as it's an hidden type. <- this should probably be fixed though

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

No branches or pull requests

2 participants