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

Method freeze

ui/src/protocol/registry.ts:143–145  ·  view source on GitHub ↗

* 冻结注册表 * * 冻结后,任何注册新组件的尝试都会抛出错误。 * 用于生产模式下防止运行时修改。

()

Source from the content-addressed store, hash-verified

141 * 用于生产模式下防止运行时修改。
142 */
143 freeze(): void {
144 this.frozen = true;
145 }
146
147 /**
148 * 检查注册表是否已冻结

Callers 2

createStandardRegistryFunction · 0.80
registry.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected