Skip to content

Using adapter within running event loop #13

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

Open
dmytro-dymarchuk opened this issue Jan 16, 2018 · 1 comment
Open

Using adapter within running event loop #13

dmytro-dymarchuk opened this issue Jan 16, 2018 · 1 comment

Comments

@dmytro-dymarchuk
Copy link

Q A
Bug? no
New Feature? yes
Version 0.1.1

Hi. Invocatiion \Amp\Promise\wait() in \Http\Adapter\Artax\Client::sendRequest() is not allow to use this adapter within a running event loop. Are you planning to add ability to use this adapter in asynchronous context (For example, in aerys webserver)?

@kelunik
Copy link
Collaborator

kelunik commented Jan 16, 2018

See #11, but you're probably better off using Artax directly there.

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