File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/API-Reference/worker Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ indexing worker as discussed below. Any extension that works on a large number o
1212worker cache to free up the main thread of heavy file access.
1313
1414* Extensions performing large compute tasks should create their own worker and may use easy util methods in
15- [ worker/WorkerComm] ( .. /WorkerComm ) to communicate with the web worker.
15+ [ worker/WorkerComm] ( ./WorkerComm ) to communicate with the web worker.
1616
1717## Import
1818
@@ -40,7 +40,7 @@ IndexingWorker.loadScriptInWorker(workerPath);
4040Once the worker script is loaded with the above step:
4141* Phoenix can communicate with worker using the ` IndexingWorker ` reference in Phoenix.
4242* Worker can communicate with Phoenix with the global ` WorkerComm ` reference within the Indexing worker.
43- All utility methods in module [ worker/WorkerComm] ( .. /WorkerComm ) can be used for worker communication.
43+ All utility methods in module [ worker/WorkerComm] ( ./WorkerComm ) can be used for worker communication.
4444
4545A global constant ` Phoenix.baseURL ` is available in the worker context to get the base url from which phoenix was
4646launched.
@@ -63,7 +63,7 @@ in module `worker/WorkerComm`.
6363The above methods can be used with either ` IndexingWorker ` reference within Phoenix
6464or the global ` WorkerComm ` reference within the Indexing worker. (See example below.)
6565
66- See [ worker/WorkerComm] ( .. /WorkerComm ) for detailed API docs.
66+ See [ worker/WorkerComm] ( ./WorkerComm ) for detailed API docs.
6767
6868``` js
6969// To Execute a named function `extensionName.sayHello` in the worker from phoenix
You can’t perform that action at this time.
0 commit comments