Add a background processing function that is async.