Move functions to be promisified

Moving these first will make later commits have a cleaner diff. There
are no substantive code changes in the moved functions.

GitOrigin-RevId: 06e0c5bb02f300942c8fbe80e81484c4d717dbc9
This commit is contained in:
andrew rumble 2024-07-22 11:30:23 +01:00 committed by Copybot
parent 10ef61a02b
commit c4d7da87a6