Agregar retraso al botón

<button href="javascript:setTimeout(()=>{window. location = 'URL' },500);">
My Button</button>
James Prentor