alexp11223
05/26/2017, 6:05 PMit
is result returned on success, or exception in fail. someData
is just a property containing query parameter (I guess I should assign the value to local variable before runAsync
to make it thread safe)
and that seemed fine until I tried to unit test VM.
I am not sure how to wait for result in tests.
I can't even do something like this because FX thread is busy and ui
cannot fire:
vm.loadTokens()
while (vm.status.running) { }
assert.........