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

Async/Await #76

Merged
merged 17 commits into from
Sep 19, 2021
Merged

Async/Await #76

merged 17 commits into from
Sep 19, 2021

Conversation

adam-fowler
Copy link
Member

@adam-fowler adam-fowler commented Apr 28, 2021

Add async versions of HBRouterMethods get, put, post etc methods
Add HBAsyncCallbackResponder
Add HBAsyncRouteHandler
Add HBAsyncMiddleware

This is a non optimal solution at the moment. We require the custom executor support being promised and for NIO to use it before we get equivalent performance from async/await.

@codecov
Copy link

codecov bot commented Apr 28, 2021

Codecov Report

Merging #76 (3a65d6b) into main (5a7b460) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #76   +/-   ##
=======================================
  Coverage   82.57%   82.57%           
=======================================
  Files          53       53           
  Lines        2599     2599           
=======================================
  Hits         2146     2146           
  Misses        453      453           
Impacted Files Coverage Δ
Sources/Hummingbird/Router/RouterMethods.swift 93.15% <ø> (ø)
Sources/Hummingbird/Router/RouterGroup.swift 96.96% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5a7b460...3a65d6b. Read the comment docs.

@adam-fowler adam-fowler merged commit 5ef2d05 into main Sep 19, 2021
@adam-fowler adam-fowler deleted the async-await-stage1 branch September 19, 2021 06:41
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

Successfully merging this pull request may close these issues.

1 participant