As part of enabling the unused-promise Flow lint (ENG-5907), I want to make two changes to this function:
- Renaming it to ignorePromiseRejections. I think this captures what it does much better.
- Move it to lib. The Lint exposed some issues in lib utilities that we use from keyserver, and to fix those we'll want access to ignorePromiseRejections from lib.