Creates a task group object
- ( instancetype )initWithName: ( NSString * )name tasks: ( NSArray< id< SKRunableObject > > * )tasks NS_DESIGNATED_INITIALIZER;
The task group object
Creates a task group object
+ ( instancetype )taskGroupWithName: ( NSString * )name
tasks: ( NSArray< id< SKRunableObject > > * )tasks;
The task group object
The task currently executing
@property( atomic,
readonly,
nullable ) id< SKRunableObject > currentTask;
This property will be nil if the task group isn't running, or if no task is actually executing.
The tasks contained in the task group
@property( atomic,
readonly ) NSArray< id< SKRunableObject > > * tasks;