@@ -119,7 +119,7 @@ public protocol EventLoopLambdaHandler: ByteBufferLambdaHandler {
119
119
/// The `EventLoopFuture` should be completed with either a response of type `Output` or an `Error`
120
120
func handle( _ event: Event , context: LambdaContext ) -> EventLoopFuture < Output >
121
121
122
- /// Encode a response of type `Output` to `ByteBuffer`
122
+ /// Encode a response of type `` Output` ` to `ByteBuffer`
123
123
/// Concrete Lambda handlers implement this method to provide coding functionality.
124
124
/// - parameters:
125
125
/// - allocator: A `ByteBufferAllocator` to help allocate the `ByteBuffer`.
@@ -128,7 +128,7 @@ public protocol EventLoopLambdaHandler: ByteBufferLambdaHandler {
128
128
/// - Returns: A `ByteBuffer` with the encoded version of the `value`.
129
129
func encode( allocator: ByteBufferAllocator , value: Output ) throws -> ByteBuffer ?
130
130
131
- /// Decode a`ByteBuffer` to a request or event of type `Event`
131
+ /// Decode a `ByteBuffer` to a request or event of type `` Event` `
132
132
/// Concrete Lambda handlers implement this method to provide coding functionality.
133
133
///
134
134
/// - parameters:
@@ -139,7 +139,7 @@ public protocol EventLoopLambdaHandler: ByteBufferLambdaHandler {
139
139
}
140
140
141
141
extension EventLoopLambdaHandler {
142
- /// Driver for `ByteBuffer` -> `Event` decoding and `Output` -> `ByteBuffer` encoding
142
+ /// Driver for `ByteBuffer` -> `` Event`` decoding and `` Output` ` -> `ByteBuffer` encoding
143
143
@inlinable
144
144
public func handle( _ event: ByteBuffer , context: LambdaContext ) -> EventLoopFuture < ByteBuffer ? > {
145
145
let input : Event
@@ -169,7 +169,8 @@ extension EventLoopLambdaHandler where Output == Void {
169
169
170
170
// MARK: - ByteBufferLambdaHandler
171
171
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.
173
174
///
174
175
/// - note: This is a low level protocol designed to power the higher level ``EventLoopLambdaHandler`` and
175
176
/// ``LambdaHandler`` based APIs.
0 commit comments