feature_flags

Types

pub type Message {
  IsEnabled(Subject(Bool), Flag)
  Enable(Flag)
  Disable(Flag)
  Shutdown
}

Constructors

  • IsEnabled(Subject(Bool), Flag)
  • Enable(Flag)
  • Disable(Flag)
  • Shutdown

Functions

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)
Search Document