@@ -78,6 +78,8 @@ public interface TaskAttachListener {
78
78
* {@link TaskManager}.
79
79
*
80
80
* @param task The Task to execute.
81
+ * @param <Progress> the type of optional progress values that the Task can emit.
82
+ * @param <Result> the type of the result that the Task will return.
81
83
* @see TaskExecutor#setDefaultExecutor(Executor)
82
84
*/
83
85
@ MainThread
@@ -88,6 +90,8 @@ public interface TaskAttachListener {
88
90
* delivered to the class owning ({@link TaskManagerOwner}) this {@link TaskManager}.
89
91
*
90
92
* @param task The Task to execute.
93
+ * @param <Progress> the type of optional progress values that the Task can emit.
94
+ * @param <Result> the type of the result that the Task will return.
91
95
* @param executor The Executor to execute the given Task with.
92
96
*/
93
97
@ MainThread
@@ -102,6 +106,8 @@ public interface TaskAttachListener {
102
106
*
103
107
* @param task The Task to execute.
104
108
* @param callback The Callback listener to deliver the Task events to.
109
+ * @param <Progress> the type of optional progress values that the Task can emit.
110
+ * @param <Result> the type of the result that the Task will return.
105
111
* @see TaskExecutor#setDefaultExecutor(Executor)
106
112
*/
107
113
@ MainThread
@@ -117,6 +123,8 @@ public interface TaskAttachListener {
117
123
* @param task The Task to execute.
118
124
* @param callback The Callback listener to deliver the Task events to.
119
125
* @param executor The Executor to execute the given Task with.
126
+ * @param <Progress> the type of optional progress values that the Task can emit.
127
+ * @param <Result> the type of the result that the Task will return.
120
128
*/
121
129
@ MainThread
122
130
public abstract <Progress , Result > void execute (@ NonNull Task <Progress , Result > task , @ NonNull Task .Callback callback , @ NonNull Executor executor );
0 commit comments