<@U0MCYKT5F> Great to know, that the code also fai...
# coroutines
u
@petersommerhoff Great to know, that the code also fails without
suspend
. Decompiled code od non-suspending functions is a lot easier to read 🙂 Without susopend, it decompiles to:
Copy code
public final void respectRateLimit(@NotNull String uri) {
      Intrinsics.checkParameterIsNotNull(uri, "uri");
      Long var10000 = this.getRateLimitDelayMs(uri);
      if (var10000 != null) {
         Long var2 = var10000;
         long delayMs = ((Number)var2).longValue();

         while(true) {
            Thread.sleep(delayMs);
            RateLimiter var7 = INSTANCE;
         }
      }

   }