我试图创建异步api.但响应显示顺序执行.完成的步骤:在两个chrome选项卡中打开url.然后快速地打击他们.url ex: - localhost:9000/getStar
.
但执行日志如下: -
[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
(Server started, use Ctrl+D to stop and go back to the console...)
[success] Compiled in 107ms
[info] application - Application has started
[info] play - Application started (Dev)
[info] application - Async started ************************** :tarun
[info] application - Success Async call :1
[info] application - Success Async call :2
[info] application - Success Async call :3
[info] application - Success Async call :4
[info] application …
Run Code Online (Sandbox Code Playgroud)