一键导入
js-worker-event-dispatcher
js-worker-event-dispatcher 收录了来自 burdiuz 的 3 个 skills,并提供仓库级职业覆盖和站内 skill 详情页。
这个仓库中的 skills
How to use @actualwave/messageport-dispatcher — cross-origin event communication via MessagePort. Use when adding typed named-event messaging between iframes, Web Workers, or any window-like target; when replacing raw postMessage/message-event boilerplate with named events; or when working in a project that imports from this package.
How to use @actualwave/worker-dispatcher — named-event communication for Dedicated Workers, Shared Workers, and Service Workers. Use when replacing raw postMessage/message boilerplate with typed named events across worker boundaries; when setting up two-way communication between a page and a Dedicated Worker; when handling multi-client Shared Worker connections; when communicating with a Service Worker from the main thread; or when a project imports from this package.
How to use @actualwave/worker-dispatcher — named-event communication for Dedicated Workers, Shared Workers, and Service Workers. Use when replacing raw postMessage/message boilerplate with typed named events across worker boundaries; when setting up two-way communication between a page and a Dedicated Worker; when handling multi-client Shared Worker connections; when communicating with a Service Worker from the main thread; or when a project imports from this package.