-
1. Re: Async metadata appears to be ignored
Michael Labriola Nov 2, 2011 10:55 AM (in response to Elias Holman)I am not sure if it is making a difference but is there actually a space between the [Test and (async) in your code?
-
2. Re: Async metadata appears to be ignored
Elias Holman Nov 2, 2011 10:58 AM (in response to Michael Labriola)Yeah, I accidentally left that in there from a previous unsuccessful attempt to try to figure out what might be the issue because I saw an example online that had that extra space, but the result is the same both with and without the space. I just retested to verify.
-
3. Re: Async metadata appears to be ignored
Michael Labriola Nov 2, 2011 11:02 AM (in response to Elias Holman)Oh.... I see it
Why are you passing SimpleTest to the failOnEvent and handleEvent methods? Pass this.
Async.failOnEvent(this, l, IOErrorEvent.IO_ERROR);
It thinks you are trying to add async functionality to static members of the SimpleTest class.
Mike
-
4. Re: Async metadata appears to be ignored
Elias Holman Nov 2, 2011 11:05 AM (in response to Michael Labriola)Of course! I was sort of unclear about what the Async method was looking for as that first argument, that makes total sense since I was passing the class instead of the object itself. Thank you so much!
-
5. Re: Async metadata appears to be ignored
Michael Labriola Nov 2, 2011 11:05 AM (in response to Elias Holman)No problem.

