pub fn format_promise<'cx>( cx: &'cx Context, cfg: Config, promise: &'cx Promise<'_>, ) -> PromiseDisplay<'cx>
Formats a Promise with the given configuration.
Promise { <#state> <#result> }