package kotlinx.coroutines; import androidx.exifinterface.media.ExifInterface; import io.sentry.SentryEvent; import kotlin.Deprecated; import kotlin.DeprecationLevel; import kotlin.Metadata; import kotlin.coroutines.CoroutineContext; import kotlin.jvm.functions.Function2; import kotlinx.coroutines.Deferred; /* compiled from: CompletableDeferred.kt */ @Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0010\u0003\n\u0000\bf\u0018\u0000*\u0004\b\u0000\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u0002J\u0015\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00028\u0000H&¢\u0006\u0002\u0010\u0006J\u0010\u0010\u0007\u001a\u00020\u00042\u0006\u0010\b\u001a\u00020\tH&¨\u0006\n"}, d2 = {"Lkotlinx/coroutines/CompletableDeferred;", ExifInterface.GPS_DIRECTION_TRUE, "Lkotlinx/coroutines/Deferred;", "complete", "", "value", "(Ljava/lang/Object;)Z", "completeExceptionally", SentryEvent.JsonKeys.EXCEPTION, "", "kotlinx-coroutines-core"}, k = 1, mv = {1, 8, 0}, xi = 48) /* loaded from: classes3.dex */ public interface CompletableDeferred extends Deferred { boolean complete(T value); boolean completeExceptionally(Throwable exception); /* compiled from: CompletableDeferred.kt */ @Metadata(k = 3, mv = {1, 8, 0}, xi = 48) /* loaded from: classes3.dex */ public static final class DefaultImpls { public static R fold(CompletableDeferred completableDeferred, R r, Function2 function2) { return (R) Deferred.DefaultImpls.fold(completableDeferred, r, function2); } public static E get(CompletableDeferred completableDeferred, CoroutineContext.Key key) { return (E) Deferred.DefaultImpls.get(completableDeferred, key); } public static CoroutineContext minusKey(CompletableDeferred completableDeferred, CoroutineContext.Key key) { return Deferred.DefaultImpls.minusKey(completableDeferred, key); } public static CoroutineContext plus(CompletableDeferred completableDeferred, CoroutineContext coroutineContext) { return Deferred.DefaultImpls.plus(completableDeferred, coroutineContext); } @Deprecated(level = DeprecationLevel.ERROR, message = "Operator '+' on two Job objects is meaningless. Job is a coroutine context element and `+` is a set-sum operator for coroutine contexts. The job to the right of `+` just replaces the job the left of `+`.") public static Job plus(CompletableDeferred completableDeferred, Job job) { return Deferred.DefaultImpls.plus((Deferred) completableDeferred, job); } } }