File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -311,14 +311,22 @@ public class com.amazon.aws.lambda.Environment {
311311}
312312```
313313
314- Lambda
315- ------
316- Instead of functions, a handler's * target()* method may also return instances implementing the * Lambda* interface :
314+ Interfaces
315+ ----------
316+ Instead of functions, a handler's * target()* method may also return instances implementing the * Lambda* or * Streaming * interfaces :
317317
318318``` php
319319public interface com.amazon.aws.lambda.Lambda {
320320 public function process(var $event, com.amazon.aws.lambda.Context $context): var
321321}
322+
323+ public interface com.amazon.aws.lambda.Streaming {
324+ public abstract function handle(
325+ var $event,
326+ com.amazon.aws.lambda.Stream $stream,
327+ com.amazon.aws.lambda.Context $context
328+ ): void
329+ }
322330```
323331
324332See also
You can’t perform that action at this time.
0 commit comments