Trait nj_core::NjFutureExt
source · pub trait NjFutureExt: Future {
// Provided method
fn try_to_js(self, js_env: &JsEnv) -> Result<napi_value, NjError>
where Self: Sized + Send + 'static,
Self::Output: TryIntoJs { ... }
}