Skip to main content

settled

Function settled 

Source
pub async fn settled(promise: Promise) -> Result<JsValue>
Expand description

Settle promise as an I/O answer.

ยงErrors

Whatever the browser rejected it with, read as faulted reads one.