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.
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()orProcess()methods on the results.