MCPcopy Index your code
hub / github.com/aws/aws-lambda-go / doRuntimeAPILoop

Function doRuntimeAPILoop

lambda/invoke_loop.go:30–40  ·  view source on GitHub ↗
(ctx context.Context, client *runtimeAPIClient, handler *handlerOptions)

Source from the content-addressed store, hash-verified

28}
29
30func doRuntimeAPILoop(ctx context.Context, client *runtimeAPIClient, handler *handlerOptions) error {
31 for {
32 invoke, err := client.next(ctx)
33 if err != nil {
34 return err
35 }
36 if err := handleInvoke(invoke, handler); err != nil {
37 return err
38 }
39 }
40}
41
42// handleInvoke returns an error if the function panics, or some other non-recoverable error occurred
43func handleInvoke(invoke *invoke, handler *handlerOptions) error {

Callers 2

startRuntimeAPILoopFunction · 0.85

Calls 2

handleInvokeFunction · 0.85
nextMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…