{"id":20162388,"url":"https://github.com/nothub/tinyeventbus","last_synced_at":"2026-01-14T02:51:39.469Z","repository":{"id":37959424,"uuid":"336664303","full_name":"nothub/TinyEventBus","owner":"nothub","description":"Tiny and fast pubsub implementation with subscriber priorities and event canceling for Java 8, 11 and 17.","archived":true,"fork":false,"pushed_at":"2024-09-02T16:57:06.000Z","size":235,"stargazers_count":14,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-18T21:23:27.758Z","etag":null,"topics":["eventbus","java","pubsub"],"latest_commit_sha":null,"homepage":"","language":"Java","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/nothub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"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}},"created_at":"2021-02-07T00:14:54.000Z","updated_at":"2024-09-02T16:58:31.000Z","dependencies_parsed_at":"2023-11-07T05:14:02.410Z","dependency_job_id":"d939203a-fc67-43f2-b553-3acccfaf9133","html_url":"https://github.com/nothub/TinyEventBus","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nothub%2FTinyEventBus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nothub%2FTinyEventBus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nothub%2FTinyEventBus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nothub%2FTinyEventBus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nothub","download_url":"https://codeload.github.com/nothub/TinyEventBus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252787448,"owners_count":21804260,"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":["eventbus","java","pubsub"],"created_at":"2024-11-14T00:24:45.997Z","updated_at":"2026-01-14T02:51:39.406Z","avatar_url":"https://github.com/nothub.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TinyEventBus\n\n[![maven central](https://maven-badges.herokuapp.com/maven-central/lol.hub/TinyEventBus/badge.svg)](https://search.maven.org/artifact/lol.hub/TinyEventBus)\n\nTiny and fast pubsub implementation with subscriber priorities and event canceling for Java.\n\n---\n\n###### usage\n\n```java\nvoid run() {\n    Bus bus = new Bus();\n    bus.reg(Sub.of(String.class, System.out::println));\n    bus.pub(\"Hello World!\");\n}\n```\n\n```java\nclass Listenable {\n    Sub\u003cLong\u003e sub = Sub.of(Long.class, l -\u003e Foo.bar(l));\n    void run() {\n        Bus bus = new Bus();\n        bus.reg(this);\n        bus.pub(42L);\n    }\n}\n```\n\nFor more explanation, check\nthe [example](https://github.com/nothub/TinyEventBus/blob/master/src/test/java/lol/hub/tinyeventbus/example/Example.java)\n.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnothub%2Ftinyeventbus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnothub%2Ftinyeventbus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnothub%2Ftinyeventbus/lists"}