Chore: use generics as possible

This commit is contained in:
yaling888
2022-04-24 02:07:57 +08:00
parent c812363090
commit ca9f3bf8a9
29 changed files with 500 additions and 267 deletions

View File

@@ -1,3 +1,3 @@
package observable
type Iterable <-chan any
type Iterable[T any] <-chan T