Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkPeer lifestage #16

Closed
Veritius opened this issue Feb 21, 2024 · 0 comments · Fixed by #20
Closed

NetworkPeer lifestage #16

Veritius opened this issue Feb 21, 2024 · 0 comments · Fixed by #20
Labels
A-Connections Connection management API S-Needs-Discussion This needs to be talked about a bit.
Milestone

Comments

@Veritius
Copy link
Owner

Veritius commented Feb 21, 2024

Some kind of enum tracking the lifestage of a network peer:

enum PeerLifestage {
    Handshake,
    Connected,
    Disconnecting,
    Disconnected,
}

What variants are needed?

@Veritius Veritius added the A-Connections Connection management API label Feb 21, 2024
@Veritius Veritius added this to the Core 0.4.0 milestone Feb 21, 2024
@Veritius Veritius added the S-Needs-Discussion This needs to be talked about a bit. label Feb 26, 2024
@Veritius Veritius linked a pull request Mar 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Connections Connection management API S-Needs-Discussion This needs to be talked about a bit.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant