Skip to content

Commit

Permalink
fix: broken links in previously generated API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
devvaannsh committed Oct 2, 2024
1 parent d0551fd commit 5a3a598
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/API-Reference/worker/IndexingWorker.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ indexing worker as discussed below. Any extension that works on a large number o
worker cache to free up the main thread of heavy file access.

* Extensions performing large compute tasks should create their own worker and may use easy util methods in
[worker/WorkerComm](../WorkerComm) to communicate with the web worker.
[worker/WorkerComm](./WorkerComm) to communicate with the web worker.

## Import

Expand Down Expand Up @@ -40,7 +40,7 @@ IndexingWorker.loadScriptInWorker(workerPath);
Once the worker script is loaded with the above step:
* Phoenix can communicate with worker using the `IndexingWorker` reference in Phoenix.
* Worker can communicate with Phoenix with the global `WorkerComm` reference within the Indexing worker.
All utility methods in module [worker/WorkerComm](../WorkerComm) can be used for worker communication.
All utility methods in module [worker/WorkerComm](./WorkerComm) can be used for worker communication.

A global constant `Phoenix.baseURL` is available in the worker context to get the base url from which phoenix was
launched.
Expand All @@ -63,7 +63,7 @@ in module `worker/WorkerComm`.
The above methods can be used with either `IndexingWorker` reference within Phoenix
or the global `WorkerComm` reference within the Indexing worker. (See example below.)

See [worker/WorkerComm](../WorkerComm) for detailed API docs.
See [worker/WorkerComm](./WorkerComm) for detailed API docs.

```js
// To Execute a named function `extensionName.sayHello` in the worker from phoenix
Expand Down

0 comments on commit 5a3a598

Please sign in to comment.