OpRegistrar
A batch of op registrations, installable into an OpRegistry as one unit.
The kuilt-warp-ksp symbol processor generates one registrar object (named WarpOps) per package that declares WarpOp-annotated ops. Application startup composes registrars from every op-carrying module into a single registry:
val registry = opRegistryOf(
com.example.search.WarpOps,
com.example.ranking.WarpOps,
)Content copied to clipboard
Registrars cover compiled-in ops — the homogeneous-binary path where every peer already holds the code and only names travel. Lazy-fetched wasm kernels are the other path: they register themselves dynamically through the same OpRegistry when their bytes arrive. The two paths share the registry and its fail-loud duplicate-registration contract.
See also
Functions
Link copied to clipboard
Registers every op this registrar carries into registry.