Delete all pending tasks at once

Is there a simple way to delete all pending tasks or the only way is to code some loop which will iterate and delete single tasks?

Checkout my pending tasks is it normal?

How to force them to be processed?

There isn’t. But you may not need to. However, assuming these tasks came through the UI, they should automatically expire and get deleted so you can ignore them.