Skip to content

Event peer:disconnect #74

Closed
Closed
@dignifiedquire

Description

@dignifiedquire

I need to detect the event of peers disconnecting on the DHT. Proposed api

libp2p.on('peer:disconnect', (peer) => {
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    explorationkind/enhancementA net-new feature or improvement to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions