plugin-tls
Version:
plugin-tls 是插件系统相应的工具,可快速地让任何模块具备插件机制
71 lines (33 loc) • 927 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [IPlugin](./plugin-tls.iplugin.md) > [created](./plugin-tls.iplugin.created.md)
## IPlugin.created() method
当宿主实例被创建时调用
**Signature:**
```typescript
created?(host: HostInst<HOST>, ...options: FormatUseParameters<Options>): any;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
host
</td><td>
[HostInst](./plugin-tls.hostinst.md)<!-- --><HOST>
</td><td>
新建的宿主实例
</td></tr>
<tr><td>
options
</td><td>
[FormatUseParameters](./plugin-tls.formatuseparameters.md)<!-- --><Options>
</td><td>
注册插件时的选项
</td></tr>
</tbody></table>
**Returns:**
any