This is more a question than an issue. Apologies if this is the wrong place to ask!
How do you test a functor which can only get its value after some time - i.e. say I can get it either by supplying a callback, or getting an Aff?
In other words, I believe I need to define Eq for the tests, but Eq is synchronous - how can I do it async?
This is more a question than an issue. Apologies if this is the wrong place to ask!
How do you test a functor which can only get its value after some time - i.e. say I can get it either by supplying a callback, or getting an
Aff?In other words, I believe I need to define
Eqfor the tests, butEqis synchronous - how can I do it async?