Skip to content

Provide Query Paramater to avoid copying Value's data? #59

Open
@kevina

Description

@kevina

When NextSync() is used it is safe to avoid copying the Value's data. This will help mostly with go-ds-leveldb queries see libp2p/go-libp2p-kad-dht#39.

@whyrusleeping Do you think this is a good idea? If this paramater is provided it will be an error to call either the Next() or Process() methods on the results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/deferredConscious decision to pause or backlog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions