@@ -78,6 +78,8 @@ public interface TaskAttachListener {
7878 * {@link TaskManager}.
7979 *
8080 * @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.
8183 * @see TaskExecutor#setDefaultExecutor(Executor)
8284 */
8385 @ MainThread
@@ -88,6 +90,8 @@ public interface TaskAttachListener {
8890 * delivered to the class owning ({@link TaskManagerOwner}) this {@link TaskManager}.
8991 *
9092 * @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.
9195 * @param executor The Executor to execute the given Task with.
9296 */
9397 @ MainThread
@@ -102,6 +106,8 @@ public interface TaskAttachListener {
102106 *
103107 * @param task The Task to execute.
104108 * @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.
105111 * @see TaskExecutor#setDefaultExecutor(Executor)
106112 */
107113 @ MainThread
@@ -117,6 +123,8 @@ public interface TaskAttachListener {
117123 * @param task The Task to execute.
118124 * @param callback The Callback listener to deliver the Task events to.
119125 * @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.
120128 */
121129 @ MainThread
122130 public abstract <Progress , Result > void execute (@ NonNull Task <Progress , Result > task , @ NonNull Task .Callback callback , @ NonNull Executor executor );
0 commit comments