UNPKG

worker-tls

Version:

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

57 lines (27 loc) 783 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [worker-tls](./worker-tls.md) &gt; [DynamicWorkerPool](./worker-tls.dynamicworkerpool.md) &gt; [removeCMD](./worker-tls.dynamicworkerpool.removecmd.md) ## DynamicWorkerPool.removeCMD() method 移除命令 **Signature:** ```typescript removeCMD(name: string): Promise<boolean[]>; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> name </td><td> string </td><td> </td></tr> </tbody></table> **Returns:** Promise&lt;boolean\[\]&gt; ## Remarks 会将 Worker 中的命令 和 自己实例上的对应快捷方法都给移除