import { Big } from "big.js" ; param { string } message param { boolean } blocking returns { Promise . < Big > } export async function ShowProgress ( message ? , blocking ? ) { const id = mx . ui . showProgress ( message , blocking ) ; if ( id !== undefined ) { return Promise . resolve ( new Big ( id ) ) ; } return Promise . reject ( new Error ( "Could not open the loading dialog" ) ) ; }