Skip to content

Commit b759270

Browse files
RHellenesAlfred-Skyblueantfu
authored
docs(useWebWorker): escape table divider (vueuse#3640)
Co-authored-by: 丶远方 <[email protected]> Co-authored-by: Anthony Fu <[email protected]>
1 parent 15a38e1 commit b759270

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/core/useWebWorker/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const { data, post, terminate, worker } = useWebWorker('/path/to/worker.js')
2020
| data | `Ref<any>` | Reference to the latest data received via the worker, can be watched to respond to incoming messages |
2121
| worker | `ShallowRef<Worker \| undefined>` | Reference to the instance of the WebWorker |
2222

23-
| Method | Signature | Description |
24-
| --------- | -------------------------------------------------------------------------------------------------------- | -------------------------------- | -------------------------------- |
25-
| post | `(message: any, transfer: Transferable[]): void`<br>`(message: any, options?: StructuredSerializeOptions | undefined): void` | Sends data to the worker thread. |
26-
| terminate | `() => void` | Stops and terminates the worker. |
23+
| Method | Signature | Description |
24+
| --------- | ----------------------------------------------------------------------------------------------------------------------------- | -------------------------------- |
25+
| post | `(message: any, transfer: Transferable[]): void`<br>`(message: any, options?: StructuredSerializeOptions \| undefined): void` | Sends data to the worker thread. |
26+
| terminate | `() => void` | Stops and terminates the worker. |

0 commit comments

Comments
 (0)