Skip to content

Commit

Permalink
Remove some obsolete docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Joannis committed Oct 29, 2023
1 parent 341b5e5 commit 4257d09
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/Hummingbird/Server/Responder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public struct HBCallbackResponder<Context: HBRequestContext>: HBResponder {
self.callback = callback
}

/// Return EventLoopFuture that will be fulfilled with response to the request supplied
public func respond(to request: HBRequest, context: Context) async throws -> HBResponse {
return try await ServiceContext.$current.withValue(context.serviceContext) {
try await self.callback(request, context)
Expand Down

0 comments on commit 4257d09

Please sign in to comment.