Encapsulate State to make it impossible to read

This was NightLightStateMachine's purpose, but it fits equally well
in the actual production code.
This commit is contained in:
Sven van Heugten 2026-01-04 10:13:18 +01:00
parent a741938f89
commit bd550bfcd9
4 changed files with 29 additions and 29 deletions

View file

@ -2,8 +2,6 @@ module NightLight.Core.Models
open System
type State = { Time: DateTime }
type Message = { Topic: string; Payload: string }
type Event =