MCPcopy Create free account
hub / github.com/astercloud/aster / get

Method get

ui/src/protocol/registry.ts:123–125  ·  view source on GitHub ↗

* 获取已注册的组件构造函数 * * @param typeName - 组件类型名称 * @returns 组件构造函数,如果未注册则返回 undefined

(typeName: string)

Source from the content-addressed store, hash-verified

121 * @returns 组件构造函数,如果未注册则返回 undefined
122 */
123 get(typeName: string): ComponentConstructor | undefined {
124 return this.components.get(typeName);
125 }
126
127 /**
128 * 检查组件是否已注册

Callers 15

memoizeFunction · 0.45
addStepFunction · 0.45
getStepsFunction · 0.45
approveFunction · 0.45
rejectFunction · 0.45
updateToolFunction · 0.45
handleToolIntermediateFunction · 0.45
getToolFunction · 0.45
handleTextChunkFunction · 0.45
getSurfaceMethod · 0.45
getStreamingStateMethod · 0.45
isStreamingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected