How to insert more than 1000 items at a time through bulkInsert()?

I thought of that but I get confused house to use promises since I have to bulkinsert after one batch is already inserted. The combination of loop and promises confused me.