libp2p / go-libp2p-core

Interfaces and abstractions that make up go-libp2p
Other
145 stars 75 forks source link

deprecate Negotiator.NegotiateLazy #249

Closed marten-seemann closed 2 years ago

marten-seemann commented 2 years ago

As discussed in https://github.com/multiformats/go-multistream/pull/85, NegotiateLazy was pretty uninteresting: all that it did was do the writes asynchronously.

Thanks to @MarcoPolo for pointing out that we also need to deprecate the function on the interface in https://github.com/libp2p/go-libp2p/pull/1417#issuecomment-1106432555.