{"id":13744061,"url":"https://github.com/robertpenner/as3-signals","last_synced_at":"2025-04-09T11:07:14.229Z","repository":{"id":659801,"uuid":"302662","full_name":"robertpenner/as3-signals","owner":"robertpenner","description":"Signals is a new approach for AS3 events, inspired by C# events and signals/slots in Qt. ","archived":false,"fork":false,"pushed_at":"2023-12-19T17:01:37.000Z","size":3848,"stargazers_count":1057,"open_issues_count":8,"forks_count":201,"subscribers_count":84,"default_branch":"master","last_synced_at":"2025-04-02T10:09:06.670Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://flashblog.robertpenner.com/","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertpenner.png","metadata":{"files":{"readme":"README.textile","changelog":"CHANGELOG.textile","contributing":null,"funding":null,"license":"MIT-LICENSE.txt","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":"2009-09-10T02:12:14.000Z","updated_at":"2024-12-13T18:44:07.000Z","dependencies_parsed_at":"2024-05-02T20:58:02.054Z","dependency_job_id":"cb664b7d-ee59-48bc-9d61-7b8f5c7747f4","html_url":"https://github.com/robertpenner/as3-signals","commit_stats":{"total_commits":445,"total_committers":25,"mean_commits":17.8,"dds":0.498876404494382,"last_synced_commit":"975eefc416bdc36513a39cae0339dc205d937922"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertpenner%2Fas3-signals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertpenner%2Fas3-signals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertpenner%2Fas3-signals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertpenner%2Fas3-signals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertpenner","download_url":"https://codeload.github.com/robertpenner/as3-signals/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248027407,"owners_count":21035594,"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-08-03T05:01:02.282Z","updated_at":"2025-04-09T11:07:14.192Z","avatar_url":"https://github.com/robertpenner.png","language":"ActionScript","funding_links":[],"categories":["Frameworks"],"sub_categories":["Signals Framework"],"readme":"h1. Signals: Think Outside the Event.\n\n*Signals* are light-weight, strongly-typed AS3 messaging tools.\nWire your application with better APIs and less boilerplate than AS3 Events.\n\nh2. Concept\n\n * A *Signal* is essentially a mini-dispatcher specific to one event, with its own array of listeners.\n * A Signal gives an event a concrete membership in a class. \n * Listeners subscribe to real objects, not to string-based channels.\n * Event string constants are no longer needed.\n * Signals are inspired by \"C# events\":http://en.wikipedia.org/wiki/C_Sharp_syntax#Events and  \"signals/slots\":http://en.wikipedia.org/wiki/Signals_and_slots in Qt. \n\nh2. Syntax\n\n\u003cpre\u003e\u003ccode\u003e// with EventDispatcher\nbutton.addEventListener(MouseEvent.CLICK, onClick);\n\n// Signal equivalent; past tense is recommended\nbutton.clicked.add(onClicked);\n\u003c/code\u003e\u003c/pre\u003e\n\nI am still looking for impressions, critiques and suggestions.  \nMy email is robert _at_ robertpenner.com.\nI'm \"@robpenner on Twitter\":http://twitter.com/robpenner.\n\nh2. Background on AS3 Events\n\n * \"My Critique of AS3 Events - Part 1\":http://flashblog.robertpenner.com/2009/08/my-critique-of-as3-events-part-1.html\n * \"AS3 Events - 7 things I've learned from community\":http://flashblog.robertpenner.com/2009/09/as3-events-7-things-ive-learned-from.html\n * \"My Critique of AS3 Events - Part 2\":http://flashblog.robertpenner.com/2009/09/my-critique-of-as3-events-part-2.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertpenner%2Fas3-signals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertpenner%2Fas3-signals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertpenner%2Fas3-signals/lists"}