Thomas Eizinger
Thomas Eizinger
Let me know if this is still an issue.
I think `go-libp2p` calls this `Host` so this might be a good candidate.
Closing as stale.
> While exploring some ideas and getting to know libp2p internals better, I ended up implementing a `NetworkBehaviour` that simply exposes the raw `AsyncRead + AsyncWrite` substreams to higher-level code....
> > If I can ask, what do the protocols look like that you are building @Frando? > > One thing I'm looking into at the moment is a simple...
I think looking at it holistically, we have the following choices when it comes to making people's life easier for writing their own protocols: 1. Re-think the abstractions of `NetworkBehaviour`...
Fixed in https://github.com/libp2p/rust-libp2p/issues/3024.
I opened an issue with `either` to see if we can get `AsyncRead` + `AsyncWrite` traits. Then we could drop the `EitherOutput` type: https://github.com/bluss/either/issues/79
> I opened an issue with `either` to see if we can get `AsyncRead` + `AsyncWrite` traits. Then we could drop the `EitherOutput` type: [bluss/either#79](https://github.com/bluss/either/issues/79) Update: As suggested in the...