[PR #143] [MERGED] An event distribution system. #218

Closed
opened 2026-03-03 16:23:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mum4k/termdash/pull/143
Author: @mum4k
Created: 2/19/2019
Status: Merged
Merged: 2/21/2019
Merged by: @mum4k

Base: develHead: eds


📝 Commits (10+)

  • 772fdae Moving eventqueue into new event directory.
  • 2ffbe5b An event distribution system.
  • a6ea156 Adding a test with misbehaving receiver.
  • b53dce0 Adding licences.
  • 36bf99e Fixing invalid use of time.Timer.
  • 286e5ab Errors are no longer a special case in the EDS.
  • adb11e8 Documenting EDS.
  • b79c3fe Switching termdash to EDS.
  • f09e1be Fixing data races in tests.
  • 37d557d Switching container to EDS.

📊 Changes

16 files changed (+1527 additions, -359 deletions)

View changed files

📝 CHANGELOG.md (+6 -0)
📝 container/container.go (+79 -25)
📝 container/container_test.go (+134 -50)
📝 container/focus_test.go (+36 -14)
📝 doc/hld.md (+40 -25)
event/event.go (+260 -0)
event/event_test.go (+425 -0)
📝 event/eventqueue/eventqueue.go (+84 -5)
event/eventqueue/eventqueue_test.go (+249 -0)
event/testevent/testevent.go (+46 -0)
eventqueue/eventqueue_test.go (+0 -123)
📝 termdash.go (+52 -47)
📝 termdash_test.go (+107 -62)
📝 terminal/faketerm/faketerm.go (+4 -4)
📝 terminal/termbox/termbox.go (+4 -4)
📝 terminalapi/terminalapi.go (+1 -0)

📄 Description

Allows multiple subscribers, supports filtering and doesn't block on slow subscribers.
Supports throttling of repetitive events.

Fixes #115
Fixes #142


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mum4k/termdash/pull/143 **Author:** [@mum4k](https://github.com/mum4k) **Created:** 2/19/2019 **Status:** ✅ Merged **Merged:** 2/21/2019 **Merged by:** [@mum4k](https://github.com/mum4k) **Base:** `devel` ← **Head:** `eds` --- ### 📝 Commits (10+) - [`772fdae`](https://github.com/mum4k/termdash/commit/772fdae7cc90b25f105b0370efe37ecabaf3d406) Moving eventqueue into new event directory. - [`2ffbe5b`](https://github.com/mum4k/termdash/commit/2ffbe5be9403ff32422092925579dd8ccd51699a) An event distribution system. - [`a6ea156`](https://github.com/mum4k/termdash/commit/a6ea1565a7441f0c13d9491c13341fb788b7b596) Adding a test with misbehaving receiver. - [`b53dce0`](https://github.com/mum4k/termdash/commit/b53dce041217af3d75c506aca8855c39918111b1) Adding licences. - [`36bf99e`](https://github.com/mum4k/termdash/commit/36bf99ebc73f68473fa079b4c512a0a6437d7834) Fixing invalid use of time.Timer. - [`286e5ab`](https://github.com/mum4k/termdash/commit/286e5abd2f26011cb88ed98f2c9d292ed935cf7e) Errors are no longer a special case in the EDS. - [`adb11e8`](https://github.com/mum4k/termdash/commit/adb11e8358ae08fcb0e5e9c93da153276ba2a289) Documenting EDS. - [`b79c3fe`](https://github.com/mum4k/termdash/commit/b79c3fef2df20147d65491be648fb88b3401d085) Switching termdash to EDS. - [`f09e1be`](https://github.com/mum4k/termdash/commit/f09e1be36164bd8904471ee19e2576657ba1198b) Fixing data races in tests. - [`37d557d`](https://github.com/mum4k/termdash/commit/37d557d30fc8a2b23ca5f1390b8703b9f22999b5) Switching container to EDS. ### 📊 Changes **16 files changed** (+1527 additions, -359 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+6 -0) 📝 `container/container.go` (+79 -25) 📝 `container/container_test.go` (+134 -50) 📝 `container/focus_test.go` (+36 -14) 📝 `doc/hld.md` (+40 -25) ➕ `event/event.go` (+260 -0) ➕ `event/event_test.go` (+425 -0) 📝 `event/eventqueue/eventqueue.go` (+84 -5) ➕ `event/eventqueue/eventqueue_test.go` (+249 -0) ➕ `event/testevent/testevent.go` (+46 -0) ➖ `eventqueue/eventqueue_test.go` (+0 -123) 📝 `termdash.go` (+52 -47) 📝 `termdash_test.go` (+107 -62) 📝 `terminal/faketerm/faketerm.go` (+4 -4) 📝 `terminal/termbox/termbox.go` (+4 -4) 📝 `terminalapi/terminalapi.go` (+1 -0) </details> ### 📄 Description Allows multiple subscribers, supports filtering and doesn't block on slow subscribers. Supports throttling of repetitive events. Fixes #115 Fixes #142 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 16:23:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/termdash#218
No description provided.