worker-tls
Version:
worker-tls 提供了 动态Worker 功能 和 其它一些 Worker 场景下有用的工具集;让开发者可以像调用对象方法一样动态地调用Worker中的方法,也可以随时地往 Worker 中动态地添加函数 等等。
12 lines (7 loc) • 317 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [worker-tls](./worker-tls.md) > [SortComparer](./worker-tls.sortcomparer.md)
## SortComparer type
**Signature:**
```typescript
export type SortComparer<Item> = (a: Item, b: Item) => number;
```