An async handler.