<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [worker-tls](./worker-tls.md) &gt; [CallOptions](./worker-tls.calloptions.md)

## CallOptions interface

函数的调用选项

**Signature:**

```typescript
export interface CallOptions<Args extends any[] = any[]> 
```

## Remarks

用于设置 transfer

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[args](./worker-tls.calloptions.args.md)


</td><td>


</td><td>

Args


</td><td>

给worker 里对应的函数传递的参数


</td></tr>
<tr><td>

[transfer](./worker-tls.calloptions.transfer.md)


</td><td>


</td><td>

Transferable\[\]


</td><td>

设置将参数传送给 worker 时可转移的数据


</td></tr>
</tbody></table>
