Hey Mark,
A little confusion. You say that's not how the Waitfor works... What
is is that I've stated that's not correct? Are you saying that the
Waitfor doesn't return a True/False for the input test function? Are
you saying that it doesn't return a result to the calling parent, that
the calling parent can then wait on, in order to continue the logic
process?
i think I understand that the Waitfor function for phantomJS works,
using the callback for the testFX function as well as the callback for
the "True" situation, which is the function that gets invoked if the
wait test is true.
But this approach is anathema to other procedural processes I've used.
i also understand the apparent async nature of javascript. Or are you
saying that javascript/phantomJS really should allow a function to be
called, and then wait until the function is complete??
Or are you saying I don't understand javascript not having a
sleep/halt/wait function like other languages?
So,I'm confused about what it is you're saying I'm missing/not
understanding. Could you please clarify? Now, don't get me wrong,
while I used to be the guy doing the development, I haven't done
development of any significance in over 15 years.
Thanks