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{})
| 52 | // |
| 53 | // Deprecated: use lambda.StartWithOptions(handler, lambda.WithContext(ctx)) instead |
| 54 | func 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. |
searching dependent graphs…