{"id":16944605,"url":"https://github.com/krgn/shared-worker-experiment","last_synced_at":"2025-03-21T08:15:00.362Z","repository":{"id":152791561,"uuid":"46867950","full_name":"krgn/shared-worker-experiment","owner":"krgn","description":"Account for Connections to SharedWorker and broadcast messages between Clients","archived":false,"fork":false,"pushed_at":"2015-11-26T08:31:36.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T04:43:50.732Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krgn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-25T14:53:32.000Z","updated_at":"2015-11-26T08:32:51.000Z","dependencies_parsed_at":"2023-04-14T06:06:36.255Z","dependency_job_id":null,"html_url":"https://github.com/krgn/shared-worker-experiment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krgn%2Fshared-worker-experiment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krgn%2Fshared-worker-experiment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krgn%2Fshared-worker-experiment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krgn%2Fshared-worker-experiment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krgn","download_url":"https://codeload.github.com/krgn/shared-worker-experiment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244759960,"owners_count":20505716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T21:18:43.556Z","updated_at":"2025-03-21T08:15:00.343Z","avatar_url":"https://github.com/krgn.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SharedWorker Example\n\nThis example demonstrates how to account for connections to a SharedWorker\ninstance between tabs/windows.\n\nWe use the 'unload' event on the window to signal the worker that the connection\nis not needed anymore and notify other windows of it.\n\nThe curious thing seems to be, that at the time of this writing, the\ninitialization function needs to be wrapped in `setTimeout` in order to function\nproperly, even with a timeout value of 0!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrgn%2Fshared-worker-experiment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrgn%2Fshared-worker-experiment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrgn%2Fshared-worker-experiment/lists"}