Skip to content

Commit 164249c

Browse files
committed
Document com.amazon.aws.lambda.Lambda [skip ci]
1 parent b371fa1 commit 164249c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,16 @@ public class com.amazon.aws.lambda.Context implements lang.Value {
170170
}
171171
```
172172

173+
Lambda
174+
------
175+
Instead of functions, a handler's *target()* method may also return instances of the *Lambda* class:
176+
177+
```php
178+
public interface com.amazon.aws.lambda.Lambda {
179+
public function process(var $event, com.amazon.aws.lambda.Context $context): var
180+
}
181+
```
182+
173183
See also
174184
--------
175185
* [What is AWS Lambda?](https://docs.aws.amazon.com/lambda/latest/dg/welcome.html)

0 commit comments

Comments
 (0)