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

Function StartWithContext

lambda/entry.go:54–56  ·  view source on GitHub ↗

StartWithContext is the same as Start except sets the base context for the function. Deprecated: use lambda.StartWithOptions(handler, lambda.WithContext(ctx)) instead

(ctx context.Context, handler interface{})

Source from the content-addressed store, hash-verified

52//
53// Deprecated: use lambda.StartWithOptions(handler, lambda.WithContext(ctx)) instead
54func StartWithContext(ctx context.Context, handler interface{}) {
55 StartWithOptions(handler, WithContext(ctx))
56}
57
58// StartHandler takes in a Handler wrapper interface which can be implemented either by a
59// custom function or a struct.

Callers 2

TestStartRPCWithContextFunction · 0.85

Calls 2

StartWithOptionsFunction · 0.85
WithContextFunction · 0.85

Tested by 2

TestStartRPCWithContextFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…