2 Replies Latest reply on Nov 3, 2009 5:37 AM by iamfuric

    AbstractOperation::send function

    iamfuric Level 2

      Hi all

      AbstractOperation API defines send function to return AsyncToken which will be passed to result and fault handler  via value.token;

      The AsyncToken is defined dynamic to allow to  attach some auxilary event info to be used later in handlers...

      But what if request returns BEFORE developer even has a chance to add auxilary info to asyncToken (VERY FAST , but stilll)?


      What  i mean is :


      var myToken :AsyncToken= operation.send(my values)

      // here result handler is called

      myToken.someAuxData = auxData


      What do you think ?