IOT Dash
|
Public Member Functions | |
HistoryWriter (IotInterface entity, IServiceScope scope) | |
void | Dispose () |
![]() | |
Task | OnReceive (object? sender, TMsg message) |
Writes changes of one IotInterface to the database.
Part of the history writing service HostedHistoryService. Takes the responsibility for storing HistoryEntrys of one IotInterface.
Collection of these objects is being maintained by HostedHistoryService. At all times there exists exactly one per each interface, which returns true from IotInterface.NeedsWriter().