Example #1
0
 /// <summary>
 /// Cancels the async operation.
 /// </summary>
 public void Cancel()
 {
     if (m_Unit != null)
     {
         m_Unit.TryCancel(m_Serial);
         m_Unit = null;
     }
 }
Example #2
0
 internal AsyncHandle(AsyncWorkUnit inWork, ushort inSerial)
 {
     m_Unit   = inWork;
     m_Serial = inSerial;
 }