Looking for an example or documentation links as to how to implement a method returning AsyncToken.
Note this is not about using/consuming a method returning AsyncToken! I wish to write such methods myself.
actionscript-3asynctoken
Looking for an example or documentation links as to how to implement a method returning AsyncToken.
Note this is not about using/consuming a method returning AsyncToken! I wish to write such methods myself.
Best Answer
Implementing a method that returns an AsyncToken is simple:
Note that you can't actually use the
applyResult
andapplyFault
methods, because they pass the responders anEvent
, when the responder except the result or fault object.