Open

Description
For golang , we can execute go routine , and leave it . the request can be done early, but the background go routine will continue execute.
for a short example
func HelloHttpHandle() {
//execute a background job, like send notify to user, via sms or email.
go func();
// the request will complete soon, return json to user http client
return json;
}
even when the function return json, the function complete.
but the background go rountine ,continue to execute , till it's end.
can scala-async do the same thing?
Metadata
Metadata
Assignees
Labels
No labels