@@ -48,8 +48,6 @@ public protocol SimpleLambdaHandler {
48
48
/// - parameters:
49
49
/// - value: Response of type ``Output``.
50
50
/// - buffer: A `ByteBuffer` to encode into, will be overwritten.
51
- ///
52
- /// - Returns: A `ByteBuffer` with the encoded version of the `value`.
53
51
func encode( value: Output , into buffer: inout ByteBuffer ) throws
54
52
55
53
/// Decode a `ByteBuffer` to a request or event of type ``Event``.
@@ -170,8 +168,6 @@ public protocol LambdaHandler {
170
168
/// - parameters:
171
169
/// - value: Response of type ``Output``.
172
170
/// - buffer: A `ByteBuffer` to encode into, will be overwritten.
173
- ///
174
- /// - Returns: A `ByteBuffer` with the encoded version of the `value`.
175
171
func encode( value: Output , into buffer: inout ByteBuffer ) throws
176
172
177
173
/// Decode a `ByteBuffer` to a request or event of type ``Event``.
@@ -411,8 +407,8 @@ public protocol ByteBufferLambdaHandler: LambdaRuntimeHandler {
411
407
/// Concrete Lambda handlers implement this method to provide the Lambda functionality.
412
408
///
413
409
/// - parameters:
410
+ /// - buffer: The event or input payload encoded as `ByteBuffer`.
414
411
/// - context: Runtime ``LambdaContext``.
415
- /// - event: The event or input payload encoded as `ByteBuffer`.
416
412
///
417
413
/// - Returns: An `EventLoopFuture` to report the result of the Lambda back to the runtime engine.
418
414
/// The `EventLoopFuture` should be completed with either a response encoded as `ByteBuffer` or an `Error`.
@@ -447,8 +443,8 @@ public protocol LambdaRuntimeHandler {
447
443
/// Concrete Lambda handlers implement this method to provide the Lambda functionality.
448
444
///
449
445
/// - parameters:
446
+ /// - buffer: The event or input payload encoded as `ByteBuffer`.
450
447
/// - context: Runtime ``LambdaContext``.
451
- /// - event: The event or input payload encoded as `ByteBuffer`.
452
448
///
453
449
/// - Returns: An `EventLoopFuture` to report the result of the Lambda back to the runtime engine.
454
450
/// The `EventLoopFuture` should be completed with either a response encoded as `ByteBuffer` or an `Error`.
0 commit comments