Liking cljdoc? Tell your friends :D
Clojure only.

fierycod.holy-lambda.native-runtime


entrypointcljmacro

(entrypoint lambdas)

Generates the entrypoint function which has the two roles:

  1. The -main might be then launched by AWS in the lambda runtime. Lambda runtime tries to proxy the payloads from AWS to corresponding handlers defined in native-template.yml.

  2. The -main might be used to generate the configuration necessary to compile the project to native.

    For more info take a look into the corresponding links:

    1. https://github.com/oracle/graal/issues/1367
    2. https://github.com/oracle/graal/blob/master/substratevm/CONFIGURE.md
    3. https://github.com/oracle/graal/blob/master/substratevm/REFLECTION.md

    According to the comment of the @cstancu with the help of the agent we can find the majority of the reflective calls and generate the configuration. Generated configuration might then be used by native-image tool.

Usage:

 (entrypoint [#'ExampleLambda1 #'ExampleLambda2 #'ExampleLambda3])
Generates the entrypoint function which has the two roles:
1. The `-main` might be then launched by AWS in the lambda runtime.
   Lambda runtime tries to proxy the payloads from AWS to corresponding handlers
   defined in `native-template.yml`.

2. The `-main` might be used to generate the configuration necessary to compile
   the project to native.

   *For more info take a look into the corresponding links:*
   1. https://github.com/oracle/graal/issues/1367
   2. https://github.com/oracle/graal/blob/master/substratevm/CONFIGURE.md
   3. https://github.com/oracle/graal/blob/master/substratevm/REFLECTION.md

   According to the comment of the @cstancu with the help of the agent we can find the majority
   of the reflective calls and generate the configuration. Generated configuration might then be used
   by `native-image` tool.

Usage:
```
 (entrypoint [#'ExampleLambda1 #'ExampleLambda2 #'ExampleLambda3])
```
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close