Skip to content

Commit 0b071eb

Browse files
committed
ROADMAP: Remove event handling refactoring
This is not interesting in itself for stakeholders. Instead it will be tracked with the cross behaviour communication. See also libp2p#2832.
1 parent 538b5b4 commit 0b071eb

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

ROADMAP.md

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
- [TLS support](#tls-support)
88
- [QUIC support](#quic-support)
99
- [WebRTC support (browser-to-server)](#webrtc-support-browser-to-server)
10-
- [Refactor event handling in `Swarm`](#refactor-event-handling-in-swarm)
1110
- [Cross Behaviour communication](#cross-behaviour-communication)
1211
- [Decouple ConnectionHandler from {In,Out}boundUpgrade](#decouple-connectionhandler-from-inoutboundupgrade)
1312
- [Generic connection management](#generic-connection-management)
@@ -79,28 +78,6 @@ certificates. See https://github.com/libp2p/specs/pull/412 for in-depth motivati
7978
Long term we should enable rust-libp2p running in the browser via WASM to use the browser's WebRTC
8079
stack. Though that should only happen after improved WASM support, see below.
8180

82-
## Refactor event handling in `Swarm`
83-
84-
**Status:** In progress
85-
86-
**Target completion:** Q4/2022
87-
88-
**Tracking:** https://github.com/libp2p/rust-libp2p/issues/2832
89-
90-
**Dependencies:**
91-
92-
**Dependents:**
93-
94-
- [Cross behaviour communication](#cross-behaviour-communication)
95-
96-
More specifically replace the `inject_*` methods on `NetworkBehaviour` and `ConnectionHandler` with
97-
consolidated `on_*_event` handlers. See https://github.com/libp2p/rust-libp2p/issues/2832 and
98-
https://github.com/libp2p/rust-libp2p/pull/2867 for details.
99-
100-
While a rather small change, this will make using rust-libp2p easier. In my eyes this is a
101-
requirement for generic connection management and cross behaviour communication as either would
102-
otherwise introduce too much complexity.
103-
10481
## Cross Behaviour communication
10582

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

11289
**Dependencies:**
11390

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

11693
**Dependents:**
11794

0 commit comments

Comments
 (0)