Skip to content

Commit

Permalink
ROADMAP: Remove event handling refactoring
Browse files Browse the repository at this point in the history
This is not interesting in itself for stakeholders. Instead it will be tracked with the cross
behaviour communication. See also libp2p#2832.
  • Loading branch information
mxinden committed Oct 11, 2022
1 parent 538b5b4 commit 0b071eb
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
- [TLS support](#tls-support)
- [QUIC support](#quic-support)
- [WebRTC support (browser-to-server)](#webrtc-support-browser-to-server)
- [Refactor event handling in `Swarm`](#refactor-event-handling-in-swarm)
- [Cross Behaviour communication](#cross-behaviour-communication)
- [Decouple ConnectionHandler from {In,Out}boundUpgrade](#decouple-connectionhandler-from-inoutboundupgrade)
- [Generic connection management](#generic-connection-management)
Expand Down Expand Up @@ -79,28 +78,6 @@ certificates. See https://github.com/libp2p/specs/pull/412 for in-depth motivati
Long term we should enable rust-libp2p running in the browser via WASM to use the browser's WebRTC
stack. Though that should only happen after improved WASM support, see below.

## Refactor event handling in `Swarm`

**Status:** In progress

**Target completion:** Q4/2022

**Tracking:** https://github.com/libp2p/rust-libp2p/issues/2832

**Dependencies:**

**Dependents:**

- [Cross behaviour communication](#cross-behaviour-communication)

More specifically replace the `inject_*` methods on `NetworkBehaviour` and `ConnectionHandler` with
consolidated `on_*_event` handlers. See https://github.com/libp2p/rust-libp2p/issues/2832 and
https://github.com/libp2p/rust-libp2p/pull/2867 for details.

While a rather small change, this will make using rust-libp2p easier. In my eyes this is a
requirement for generic connection management and cross behaviour communication as either would
otherwise introduce too much complexity.

## Cross Behaviour communication

**Status:** todo
Expand All @@ -111,7 +88,7 @@ otherwise introduce too much complexity.

**Dependencies:**

- [Refactor event handling](#refactor-event-handling-in-swarm)
- https://github.com/libp2p/rust-libp2p/issues/2832

**Dependents:**

Expand Down

0 comments on commit 0b071eb

Please sign in to comment.