<Kotlin Stream.asSequence() now requiring Stream.i...
# stackoverflow
u
Kotlin Stream.asSequence() now requiring Stream.iterator().asSequence() I am using java.net.HttpClient to issue a simple GET request where the response is of type HttpResponse. However, even though Kotlin.streams has an asSequence() method, I now have to first convert the stream to an iterator before calling asSequence(). Why is this the case? val client = HttpClient.newHttpClient() val request =...