Releases: dogmatiq/minibus
Releases · dogmatiq/minibus
Version 0.3.0
Changed
- [BC]
Run()
now accepts a list of functions, instead of options. - There is no longer any buffering on inbox channels.
- There is no longer a central "bus" channel. Instead, each function delivers the messages it publishes directly to the inbox channels of the functions that subscribe to them. This prevents deadlocks from unrelated functions saturating the buffers.
Removed
- [BC] Removed
Option
,WithFunc()
andWithInboxSize()
.
Version 0.2.1
Added
Subscribe()
now supports subscribing to interface types. The function will receive any messages that implement the interface.- Added
runtime/trace
task and log annotations.
Version 0.2.0
This release abandons the "component" terminology and simply refers to the functions executed by Run()
as "functions".
Changed
- [BC] Renamed
Start()
toReady()
- [BC] Renamed
WithComponent()
toWithFunc()
- [BC] Renamed
WithBuffer()
toWithInboxSize()
- [BC] Renamed
RunOption
toOption
Version 0.1.1
Fixed
Run()
now exits immediately when there are no components, instead of blocking until the context is canceled.- Messages are no longer delivered back to the component that sent them.
Version 0.1.0
- Initial release