First draft of modifying RunnerListener to CallListener to get it closer to the action (and named better).

This commit is contained in:
Travis Reeder
2017-10-09 18:38:29 -06:00
parent 1ea4872a88
commit a82b6fb1ef
3 changed files with 37 additions and 0 deletions

View File

@@ -86,6 +86,7 @@ func (s *Server) serve(c *gin.Context, appName, path string) {
return
}
err = doCall(call)
err = s.Agent.Submit(call)
if err != nil {
// NOTE if they cancel the request then it will stop the call (kind of cool),