Dmn.PreparedCall (dmn v0.1.0)

Copy Markdown View Source

A decision selected from a compiled model by Dmn.prepare_call/3, run with Dmn.run/2.

Holds the model, the resolved target and dependency plan, and fixed run options. It contains no input values or results: each run starts afresh. It retains references to the compiled expressions, including any loaded BEAM modules; those modules must remain loaded for the lifetime of the call. Treat this value as opaque.

Summary

Types

t()

@type t() :: %Dmn.PreparedCall{
  compiled: Dmn.Compiled.t(),
  feel_options: keyword(),
  mode: :lenient | :strict,
  name: String.t(),
  options: keyword(),
  plan: [Dmn.Compiled.key()],
  targets: [{String.t(), Dmn.Compiled.key()}]
}