@@ -119,7 +119,7 @@ public protocol EventLoopLambdaHandler: ByteBufferLambdaHandler {
119119 /// The `EventLoopFuture` should be completed with either a response of type `Output` or an `Error`
120120 func handle( _ event: Event , context: LambdaContext ) -> EventLoopFuture < Output >
121121
122- /// Encode a response of type `Output` to `ByteBuffer`
122+ /// Encode a response of type `` Output` ` to `ByteBuffer`
123123 /// Concrete Lambda handlers implement this method to provide coding functionality.
124124 /// - parameters:
125125 /// - allocator: A `ByteBufferAllocator` to help allocate the `ByteBuffer`.
@@ -128,7 +128,7 @@ public protocol EventLoopLambdaHandler: ByteBufferLambdaHandler {
128128 /// - Returns: A `ByteBuffer` with the encoded version of the `value`.
129129 func encode( allocator: ByteBufferAllocator , value: Output ) throws -> ByteBuffer ?
130130
131- /// Decode a`ByteBuffer` to a request or event of type `Event`
131+ /// Decode a `ByteBuffer` to a request or event of type `` Event` `
132132 /// Concrete Lambda handlers implement this method to provide coding functionality.
133133 ///
134134 /// - parameters:
@@ -139,7 +139,7 @@ public protocol EventLoopLambdaHandler: ByteBufferLambdaHandler {
139139}
140140
141141extension EventLoopLambdaHandler {
142- /// Driver for `ByteBuffer` -> `Event` decoding and `Output` -> `ByteBuffer` encoding
142+ /// Driver for `ByteBuffer` -> `` Event`` decoding and `` Output` ` -> `ByteBuffer` encoding
143143 @inlinable
144144 public func handle( _ event: ByteBuffer , context: LambdaContext ) -> EventLoopFuture < ByteBuffer ? > {
145145 let input : Event
@@ -169,7 +169,8 @@ extension EventLoopLambdaHandler where Output == Void {
169169
170170// MARK: - ByteBufferLambdaHandler
171171
172- /// An `EventLoopFuture` based processing protocol for a Lambda that takes a `ByteBuffer` and returns a `ByteBuffer?` asynchronously.
172+ /// An `EventLoopFuture` based processing protocol for a Lambda that takes a `ByteBuffer` and returns
173+ /// an optional `ByteBuffer` asynchronously.
173174///
174175/// - note: This is a low level protocol designed to power the higher level ``EventLoopLambdaHandler`` and
175176/// ``LambdaHandler`` based APIs.
0 commit comments