format_promise

Function format_promise 

Source
pub fn format_promise<'cx>(
    cx: &'cx Context,
    cfg: Config,
    promise: &'cx Promise<'_>,
) -> PromiseDisplay<'cx>
Expand description

Formats a Promise with the given configuration.

ยงFormat

Promise { <#state> <#result> }