pub type Message { IsEnabled(Subject(Bool), Flag) Enable(Flag) Disable(Flag) Shutdown }
IsEnabled(Subject(Bool), Flag)
Enable(Flag)
Disable(Flag)
Shutdown
pub fn disable(app: Subject(Message), flag: String) -> Nil
pub fn enable(app: Subject(Message), flag: String) -> Nil
pub fn is_enabled(app: Subject(Message), flag: String) -> Bool
pub fn start() -> Subject(Message)