- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
27 lines
739 B
Java
27 lines
739 B
Java
package kotlinx.coroutines.scheduling;
|
|
|
|
import kotlinx.coroutines.DebugStringsKt;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class TaskImpl extends Task {
|
|
public final Runnable block;
|
|
|
|
public TaskImpl(Runnable runnable, long j, TaskContext taskContext) {
|
|
super(j, taskContext);
|
|
this.block = runnable;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
try {
|
|
this.block.run();
|
|
} finally {
|
|
this.taskContext.afterTask();
|
|
}
|
|
}
|
|
|
|
public String toString() {
|
|
return "Task[" + DebugStringsKt.getClassSimpleName(this.block) + '@' + DebugStringsKt.getHexAddress(this.block) + ", " + this.submissionTime + ", " + this.taskContext + ']';
|
|
}
|
|
}
|