Liking cljdoc? Tell your friends :D
Clojure only.

fierycod.graalvm-agent-helper.core


in-contextcljmacro

(in-context & body)

Executes body in safe agent context for native configuration generation. Useful when it's hard for agent payloads to cover all logic branches.

In order to generate native-configuration run:

make native-gen-conf

Usage:

(in-context
  (some-body-which-has-to-be-inspected-via-graalvm))

You can safely leave agent-context calls in the code. Agent context not set results in no code being generated by macro.

Executes body in safe agent context for native configuration generation.
Useful when it's hard for agent payloads to cover all logic branches.

*In order to generate native-configuration run:*

```
make native-gen-conf
```

*Usage:*

```
(in-context
  (some-body-which-has-to-be-inspected-via-graalvm))
```

You can safely leave agent-context calls in the code. Agent context not set results in no code being generated by macro.
sourceraw docstring

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

× close