spring-framework / org.springframework.web.context.request.async / WebAsyncTask / onCompletion

onCompletion

open fun onCompletion(callback: Runnable): Unit

Register code to invoke when the async request completes.

This method is called from a container thread when an async request completed for any reason, including timeout and network error.