ReactiveX / RxGo

Reactive Extensions for the Go language.
MIT License
4.96k stars 338 forks source link

Go 1.18 Generics Support #375

Open obenkenobi opened 2 years ago

obenkenobi commented 2 years ago

Since Go came out with generics on version 1.18, the need for interface{} in type parameters is no longer needed. I understand the need for backwards compatability, however I do feel that this library would very much benefit from generics especially when making operations less error prone and code more concise.

I do propose making a separate variation of the library to support genetics so the current implementation remains backwards compatible.