Commit 4707a2f
committed
Refactor AimDB to remove
- Updated `WebSocketConnectorImpl` to collect outbound publisher futures instead of spawning them directly.
- Refactored `ServerState` to build the WebSocket Axum server future and return it as a `BoxFuture`.
- Revised design documentation to reflect the removal of the `Spawn` trait and the new approach for handling futures.
- Modified examples to adapt to the new `build()` and `run()` pattern, ensuring proper initialization and concurrent execution of tasks.
- Removed unnecessary `Spawn` trait bounds from various components and updated related code generation.
- Cleaned up example projects to align with the new architecture, including adjustments to how the Embassy adapter is initialized and how the database runner is executed.Spawn trait and collect futures in build()
1 parent 75d6cf9 commit 4707a2f
54 files changed
Lines changed: 1276 additions & 1668 deletions
File tree
- aimdb-codegen/src
- aimdb-core/src
- remote
- transform
- aimdb-embassy-adapter
- src
- aimdb-executor
- src
- aimdb-knx-connector/src
- aimdb-mqtt-connector/src
- aimdb-persistence
- src
- tests
- aimdb-sync/src
- aimdb-tokio-adapter
- src
- tests
- aimdb-wasm-adapter/src
- aimdb-websocket-connector/src
- client
- docs/design
- examples
- embassy-knx-connector-demo/src
- embassy-mqtt-connector-demo
- src
- remote-access-demo/src
- weather-mesh-demo
- weather-station-alpha/src
- weather-station-beta/src
- weather-station-gamma
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
560 | | - | |
| 560 | + | |
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
| |||
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
734 | | - | |
| 734 | + | |
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
| |||
1250 | 1250 | | |
1251 | 1251 | | |
1252 | 1252 | | |
1253 | | - | |
| 1253 | + | |
1254 | 1254 | | |
1255 | 1255 | | |
1256 | 1256 | | |
| |||
1833 | 1833 | | |
1834 | 1834 | | |
1835 | 1835 | | |
1836 | | - | |
1837 | | - | |
| 1836 | + | |
| 1837 | + | |
1838 | 1838 | | |
1839 | 1839 | | |
1840 | 1840 | | |
| |||
1938 | 1938 | | |
1939 | 1939 | | |
1940 | 1940 | | |
1941 | | - | |
| 1941 | + | |
1942 | 1942 | | |
1943 | 1943 | | |
1944 | 1944 | | |
| |||
0 commit comments