UNPKG

worker-tls

Version:

worker-tls 提供了 动态Worker 功能 和 其它一些 Worker 场景下有用的工具集;让开发者可以像调用对象方法一样动态地调用Worker中的方法,也可以随时地往 Worker 中动态地添加函数 等等。

50 lines (24 loc) 750 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [worker-tls](./worker-tls.md) &gt; [WorkerClient](./worker-tls.workerclient.md) &gt; [(constructor)](./worker-tls.workerclient._constructor_.md) ## WorkerClient.(constructor) Constructs a new instance of the `WorkerClient` class **Signature:** ```typescript constructor(named?: Optional<INamedFunctions>); ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> named </td><td> Optional&lt;[INamedFunctions](./worker-tls.inamedfunctions.md)<!-- -->&gt; </td><td> _(Optional)_ </td></tr> </tbody></table>