chebyrash / promise

Promise / Future library for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

promise.Any does not exist

JulienLecoq opened this issue · comments

In the README as well as in the examples, you use promise.Any for typing but it is not exported by the package.

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

Okay, can't wait to see it in action :D

commented

done