Skip to content

Commit

Permalink
docs: add TODOs in README (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwv authored Nov 12, 2024
1 parent 7ee4c8c commit c381209
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ const worker3 = await createWorkerFromURL(
);
```

## TODOs

- Fix origin check to allow worker from `file://` scheme and handle cross-origin worker scripts securely
- Add support for transferable objects in postMessage (Blob, ArrayBuffer, MessagePort, etc.)
- Implement proper worker termination with cleanup of all resources and event listeners
- Add examples for common use cases in documentation

## License

MIT

0 comments on commit c381209

Please sign in to comment.