FlowRunner.Compile (flow_runner v6.15.1)

Copy Markdown

Compile converts a JSON flow into an internal representation that is able to be run.

Summary

Functions

compile(json)

@spec compile(binary() | map()) ::
  {:ok, FlowRunner.Spec.Container.t()} | {:error, String.t()}

compile(module, data)

@spec compile(module(), map()) ::
  {:ok, FlowRunner.Spec.Container.t()} | {:error, String.t()}

compile!(data)

@spec compile!(binary() | map()) :: FlowRunner.Spec.Container.t()

compile!(module, data)

@spec compile!(module(), binary() | map()) :: FlowRunner.Spec.Container.t()