promise.Any does not exist
JulienLecoq opened this issue · comments
Juliano commented
In the README as well as in the examples, you use promise.Any
for typing but it is not exported by the package.
Petr commented
That's true.
I'm in the middle of updating the README to showcase the new update which utilises Go 1.18 generics.
Actually, the old promise.Any
won't be needed any more with the introduction of native any
in Go
Juliano commented
Okay, can't wait to see it in action :D
Petr commented
done