Skip to main content

promise_resolve_pub

Function promise_resolve_pub 

Source
pub fn promise_resolve_pub(v: Value) -> Result<Value, String>
Expand description

Promise.resolve(v) for stdlib callers that need to hand back an already-settled promise.