UNPKG

plugin-tls

Version:

plugin-tls 是插件系统相应的工具,可快速地让任何模块具备插件机制

59 lines (28 loc) 889 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [PluginManagerWithInit](./plugin-tls.pluginmanagerwithinit.md) &gt; [inited](./plugin-tls.pluginmanagerwithinit.inited.md) ## PluginManagerWithInit.inited() method 插件宿主创建实例时调用 **Signature:** ```typescript inited(hostInst: HostInst<HostClassType>): void; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> hostInst </td><td> [HostInst](./plugin-tls.hostinst.md)<!-- -->&lt;HostClassType&gt; </td><td> 插件宿主的新实例 </td></tr> </tbody></table> **Returns:** void ## Remarks 会调用每个插件的 [IPlugin.created()](./plugin-tls.iplugin.created.md) 方法