whenSlow

Execute a function (e.g. show loading status) when a Promise is slow.