![]() | InDesign SDK 20.5 |
#include <AsyncWork.h>

Public Types | |
| enum | Priority { kLowestPriority = 0, kLowPriority = 0, kNormalPriority = 1, kHighPriority = 2, kHighestPriority = 2, kReservedForceCompletionPriority = 3 } |
Public Member Functions | |
| virtual | ~AsyncWorkPacket () |
base class, descendents must use only thread-safe code if processor promises thread-safety, not a boss
| inlinevirtual |
virtual destructor because the architecture deletes these. A packet may be deleted before it's ever processed (if you call cancel), or may be deleted after processing but before the completion callback (if you call cancel too late), or may be deleted after the completion callback has occured (this is the normal case), so be sure that your destructor properly cleans up everything in any of these three cases.