Skip to content

discv5: Add anotherTalkReq function with Context arg #31935

@GrapeBaBa

Description

@GrapeBaBa

Rationale

Follow the Go network library design practice, add one more TalkReq function with context arg is more useful for some use-cases which wanna to return immediately without waiting the response anymore by some condition.

For example: https://pkg.go.dev/net/http#NewRequestWithContext

Implementation

We already added in our fork and would like to submit to the upstream.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions