Why is there no tokio-sink
?
#5470
Answered
by
Darksonn
byte-sourcerer
asked this question in
Q&A
-
There is |
Beta Was this translation helpful? Give feedback.
Answered by
Darksonn
Feb 18, 2023
Replies: 1 comment
-
There are some In general, streams are used much more often than sinks, which is why they have a dedicated crate. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
byte-sourcerer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are some
Sink
implementations intokio-util
, e.g. there'sPollSender
for the mspc channel. There isn't one for the broadcast channel.In general, streams are used much more often than sinks, which is why they have a dedicated crate.