Owned state for the parser Port and its restart policy.
Minga.Parser.Manager owns the process and installs this aggregate, while this
module is the only constructor and updater of %PortState{} values.
Summary
Functions
Records that the parser Port is closed.
Records that bounded restart attempts have been exhausted.
Constructs parser Port state for an executable path.
Records a successfully opened parser Port.
Resets bounded restart history for a manual restart.
Records a successful automatic restart and resets backoff.
Records a scheduled restart attempt and its next backoff.
Types
Functions
Records that the parser Port is closed.
Records that bounded restart attempts have been exhausted.
Constructs parser Port state for an executable path.
Records a successfully opened parser Port.
Resets bounded restart history for a manual restart.
Records a successful automatic restart and resets backoff.
@spec scheduled(t(), [integer()], pos_integer()) :: t()
Records a scheduled restart attempt and its next backoff.