Rename to stealergram, add pyproject.toml, purge em-dashes
- Rename project to stealergram throughout - Add pyproject.toml (replaces requirements.txt split, folds pytest.ini) - Replace all em-dashes with hyphens across all source files Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,11 +14,11 @@ from tui.events import set_bot_context, signal_channel_changed
|
||||
```
|
||||
|
||||
### `init_bus() -> queue.Queue`
|
||||
Creates the `queue.Queue`. Called inside `MonitorApp.on_mount()` — **must run on Textual's event loop**, not before `App.run()`.
|
||||
Creates the `queue.Queue`. Called inside `MonitorApp.on_mount()` - **must run on Textual's event loop**, not before `App.run()`.
|
||||
|
||||
### `post(event: Any) -> None`
|
||||
Fire-and-forget from any thread. Delivers to the TUI queue **and** all subscriber queues.
|
||||
Uses `queue.Queue.put_nowait()` — never blocks.
|
||||
Uses `queue.Queue.put_nowait()` - never blocks.
|
||||
|
||||
### `get_bus() -> queue.Queue | None`
|
||||
Returns the TUI queue for `_drain_bus()` to consume.
|
||||
|
||||
Reference in New Issue
Block a user