Closed slonopotamus closed 3 years ago
Several APIs used Closure as if V was closure argument. But instead, V is actually closure return type.
This commit replaces all user-facing APIs that accepts Closure to instead accept Action
Note that there is still a couple of places where Closure is used in the code. I'm not sure how to fix them properly.
Warning! Your CI is not working. This PR wasn't tested. See ##101.
Several APIs used Closure as if V was closure argument.
But instead, V is actually closure return type.
This commit replaces all user-facing APIs that accepts Closure to instead accept Action
Note that there is still a couple of places where Closure is used in the code. I'm not sure how to fix them properly.