Skip to content

Why Subject is generic type? #3881

Nov 23, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

That's it!

If it didn't have a type parameter there would be no way for the subject to specify what type of message it accepts.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lpil
Comment options

lpil Nov 23, 2024
Maintainer

Answer selected by catcombo
@catcombo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants