Spectre.Extension.Mount (Spectre v0.3.0)

Copy Markdown View Source

Compile-time registration of one optional Spectre extension.

The extension module contributes ports such as action providers or a planner; it does not own a second Agent compiler or runtime.

Summary

Types

t()

@type t() :: %Spectre.Extension.Mount{
  api_version: non_neg_integer(),
  compiled: term(),
  id: term(),
  module: module(),
  opts: keyword()
}

Functions

new(module, opts)

@spec new(
  module(),
  keyword()
) :: t()