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

Problem with nested requests in synchronous mode #4

Closed
gsmetal opened this issue Apr 21, 2017 · 0 comments
Closed

Problem with nested requests in synchronous mode #4

gsmetal opened this issue Apr 21, 2017 · 0 comments

Comments

@gsmetal
Copy link
Member

gsmetal commented Apr 21, 2017

This code causes problems:

Artery.request 'foo' do |on|
  on.success do |f_data|
    Artery.request 'bar' do |at|
      at.success do |b_data|
        puts b_data.inspect
      end
    end
  end
end
@gsmetal gsmetal changed the title Problem with nested requests in synchronouse mode Problem with nested requests in synchronous mode Apr 21, 2017
gsmetal added a commit that referenced this issue Aug 24, 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

1 participant