{"id":19789598,"url":"https://github.com/webfreak001/eventsystem","last_synced_at":"2026-03-07T14:32:20.095Z","repository":{"id":146626617,"uuid":"44133968","full_name":"WebFreak001/EventSystem","owner":"WebFreak001","description":"Tiny event system in D using delegates","archived":false,"fork":false,"pushed_at":"2021-06-10T16:37:53.000Z","size":6,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T14:48:10.926Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebFreak001.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-12T21:00:51.000Z","updated_at":"2024-09-23T05:56:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"d604f590-06e8-4f36-aee7-c582d670abe0","html_url":"https://github.com/WebFreak001/EventSystem","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/WebFreak001/EventSystem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2FEventSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2FEventSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2FEventSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2FEventSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebFreak001","download_url":"https://codeload.github.com/WebFreak001/EventSystem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2FEventSystem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30217483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T14:02:48.375Z","status":"ssl_error","status_checked_at":"2026-03-07T14:02:43.192Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-12T06:34:02.085Z","updated_at":"2026-03-07T14:32:20.072Z","avatar_url":"https://github.com/WebFreak001.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tiny Event System\n\nIts just 35 lines of code + unittests and it supports regular events \u0026 cancelable events!\n\nUsage:\n\n```d\nimport tinyevent;\n\n// Regular event\nEvent!string onStringChange;\nstatic assert(isEvent!onStringChange);\nstatic assert(isEmittable!onStringChange);\nonStringChange ~= (str) { /* Handle new string */ };\nonStringChange.emit(\"Foo\");\n```\n\n```d\nimport tinyevent;\n\n// Cancelable\nCancelable!bool onQuit;\nstatic assert(isCancelable!onQuit);\nstatic assert(isEmittable!onQuit);\nonQuit ~= (force) { return force || !saved; }\n\n// When pressing X:\nif(!onQuit.emit(false))\n\tshowUnsavedChangesDialog();\nelse\n\texit();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebfreak001%2Feventsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebfreak001%2Feventsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebfreak001%2Feventsystem/lists"}