Skip to content

How to implement fire-and-forget pattern #3786

Closed Answered by thomaseizinger
oskin1 asked this question in Q&A
Discussion options

You must be logged in to vote

If you use the Upgrade::V1Lazy strategy, negotiating substreams is 0RTT. The OneShotHandler may be useful for your usecase: https://github.com/libp2p/rust-libp2p/blob/master/swarm/src/handler/one_shot.rs

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@oskin1
Comment options

@thomaseizinger
Comment options

@oskin1
Comment options

@thomaseizinger
Comment options

Answer selected by oskin1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants