Ex4pmEngine.Wasm.AlgoRegistry (ex4pm v26.9.9)

Copy Markdown View Source

Canonical registry of WASM-backed algorithm adapters for Ex4pm.Engine.Wasm.

Each entry names an algorithm_id (an atom, also used as the generated adapter module's file basename under lib/ex4pm_engine/wasm/) and the export symbol the admitted WASM artifact exposes for it. New entries are added by generating an adapter module with mix ex4pm.engine.gen.adapter <algorithm_id> (see Mix.Tasks.Ex4pm.Engine.Gen.Adapter), following the pattern established by Ex4pmEngine.Wasm.Mean.

Summary

Types

spec()

@type spec() :: %{algorithm_id: atom(), export: String.t()}

Functions

algo_specs()

@spec algo_specs() :: [spec()]