Page MenuHomeSealhub

pipeline.ts
No OneTemporary

pipeline.ts

import { PrimitiveJSON } from "./primitives/primitive";
import { Registry } from "./registry";
export function resolve_component(
reg: Registry,
type: string,
component: Record<string, unknown>
): PrimitiveJSON {
const func = reg.get_component(type);
if (!func)
throw new Error(
`Component of type ${type} was not registered before trying to resolve it`
);
return func(component);
}

File Metadata

Mime Type
text/x-java
Expires
Fri, Jan 24, 15:15 (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
601612
Default Alt Text
pipeline.ts (397 B)

Event Timeline