worker-tls
Version:
worker-tls 提供了 动态Worker 功能 和 其它一些 Worker 场景下有用的工具集;让开发者可以像调用对象方法一样动态地调用Worker中的方法,也可以随时地往 Worker 中动态地添加函数 等等。
19 lines (10 loc) • 506 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [worker-tls](./worker-tls.md) > [IWorkerCodes](./worker-tls.iworkercodes.md) > [iife](./worker-tls.iworkercodes.iife.md)
## IWorkerCodes.iife property
在 Wokrer 中会被立即执行的函数
**Signature:**
```typescript
iife?: Optional<AnyFunction[]>;
```
## Remarks
这些函数会被作为 立即调用函数在 Worker 启动时作为顶层代码被立即执行;