Reputation: 476
I am using play-scala with ReactJS(in public directory) application. I have around 100 Rest API's in my project. Some of the API's taking more than 10 to 15 minutes to give the response, Because that API handling the bulk data. When I'm using this API's I'm unable to use another API until that API completed.
I'm using async
to achieve this, But still It's not resolved.
def get() = validate.actionType.async { request =>
getAll()
}
How can I fix this issue?
Upvotes: 0
Views: 34
Reputation: 8263
There could be two reasons:
Upvotes: 1