pull/909/head
gedoor 4 years ago
parent 1efa4e86f4
commit c8456d9b68
  1. 2
      app/src/main/java/io/legado/app/help/JsExtensions.kt

@ -46,7 +46,7 @@ interface JsExtensions {
/**
* 并发访问网络
*/
fun ajaxAll(urlList: List<String>): Array<StrResponse?> {
fun ajaxAll(urlList: Array<String>): Array<StrResponse?> {
return runBlocking {
val asyncArray = Array(urlList.size) {
async(IO) {

Loading…
Cancel
Save