Depends on the type of meal, my current BG, the type of insulin I use (it was different when I used Novorapid, and I find slight differences between Fiasp and Lyumjev as well), and the circumstances (eating out or with friends at home is different than when eating at home alone).
On lyumjev it varies between injecting right before food or even after, and about 30 minutes before.
On Novorapid I often waited for 45 minutes to an hour.
But people are very different in how quickly the insulin hits, and many people would experience serious lows trying to prebolus with Lyumjev or Fiasp!
Do you use a sensor? It's a very useful tool to help you work out what works for you.