Add async support to gitlab-http
When using the `gitlab-http` gem, you can pass the `async: true` option and get a `Concurrent::Promise` object. Since there is no business logic and external connection inside the async calls, it is thread-safe.
显示
- Gemfile.lock 1 个添加, 0 个删除Gemfile.lock
- gems/gitlab-http/Gemfile.lock 1 个添加, 0 个删除gems/gitlab-http/Gemfile.lock
- gems/gitlab-http/README.md 14 个添加, 3 个删除gems/gitlab-http/README.md
- gems/gitlab-http/gitlab-http.gemspec 1 个添加, 0 个删除gems/gitlab-http/gitlab-http.gemspec
- gems/gitlab-http/lib/gitlab/http_v2/client.rb 53 个添加, 21 个删除gems/gitlab-http/lib/gitlab/http_v2/client.rb
- gems/gitlab-http/lib/gitlab/http_v2/lazy_response.rb 48 个添加, 0 个删除gems/gitlab-http/lib/gitlab/http_v2/lazy_response.rb
- gems/gitlab-http/spec/gitlab/http_v2_spec.rb 97 个添加, 0 个删除gems/gitlab-http/spec/gitlab/http_v2_spec.rb
想要评论请 注册 或 登录