Search typehead trigger time in jquery

Is there any way how to trigger the event in every 3 seconds in laravel vuejs, but I’ve been using Jquery in my script.The problem is when I search and input any string, since I’ve been using keyup on input type it will trigger the event every characters I’ve type. All I want, It will trigger when you stop typing for at least 3 seconds, else if you continued typing it will not trigger the event, is there any way to achieve this? it will very helpful for me.