The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Using invocation context

Context is metadata associated with each invocation. If the handler function accepts a context argument then it will automatically receive at runtime a named list consisting of these values along with the arguments in the body (if any). For example, a function such as my_func(x, context) will receive the context argument automatically. The context argument must be named (... will not work).

The following context is made available as a named list:

Event class-specific context

This section concerns future functionality for the lambdr package. It is not yet implemented.

A particular event class (determined by invocation method) can implement an extract_context method. This could be used to say, include details about the HTTP request if an invocation is coming via an API Gateway.

In all cases the context should be a named list. The new context is appended to the default values listed above.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.