File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,12 @@ extension Lambda {
47
47
48
48
func run( logger: Logger , handler: Handler ) -> EventLoopFuture < Void > {
49
49
logger. debug ( " lambda invocation sequence starting " )
50
- // 1. request work from lambda runtime engine
50
+ // 1. request invocation from lambda runtime engine
51
51
self . isGettingNextInvocation = true
52
52
return self . runtimeClient. getNextInvocation ( logger: logger) . peekError { error in
53
53
logger. error ( " could not fetch work from lambda runtime engine: \( error) " )
54
54
} . flatMap { invocation, payload in
55
- // 2. send work to handler
55
+ // 2. send invocation to handler
56
56
self . isGettingNextInvocation = false
57
57
let context = Context ( logger: logger, eventLoop: self . eventLoop, invocation: invocation)
58
58
logger. debug ( " sending invocation to lambda handler \( handler) " )
Original file line number Diff line number Diff line change 12
12
//
13
13
//===----------------------------------------------------------------------===//
14
14
15
- import AWSLambdaRuntime
15
+ import AWSLambdaRuntimeCore
16
16
import NIO
17
17
18
18
// in this example we are receiving and responding with strings
You can’t perform that action at this time.
0 commit comments