Definition at line 85 of file OOAsyncWorkManager.m.
◆ addTask:priority:
Reimplemented from OOAsyncWorkManager.
Definition at line 88 of file OOAsyncWorkManager.m.
441{
443
444 id operation = [[OONSInvocationOperationClass() alloc] initWithTarget:self selector:@selector(dispatchTask:) object:task];
445 if (operation ==
nil)
return NO;
446
449
450 [_operationQueue addOperation:operation];
451 [operation release];
452
453 [super noteTaskQueued:task];
454 return YES;
455}
@ OONSOperationQueuePriorityLow
@ OONSOperationQueuePriorityHigh
◆ dealloc
◆ dispatchTask:
Definition at line 88 of file OOAsyncWorkManager.m.
458 :(id<OOAsyncWorkTask>)task
459{
460 @try
461 {
462 [task performAsyncTask];
463 }
464 @catch (id exception) {}
465 [self queueResult:task];
466}
◆ init
◆ _operationQueue
The documentation for this class was generated from the following file: