Skip to content

State polling logic should be unified #80

@cachebag

Description

@cachebag

We have several different connection-progress loops, with duplicate error logic:

  • Wait for activation
  • Handle config timeout
  • Handle failure reasons
  • Detect stuck disconnected
  • Detect stuck config

We can unify into something like

async fn wait_for_connection_state(
    &self,
    dev: &NMDeviceProxy<'_>,
    timeout_ms: u64,
) -> Result<()>;

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requestnmrsChanges to nmrs

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions