Function napi_h::bindgen_prelude::execute_tokio_future
source · pub fn execute_tokio_future<Data: 'static + Send, Fut: 'static + Send + Future<Output = Result<Data>>, Resolver: 'static + FnOnce(napi_env, Data) -> Result<napi_value>>(
env: napi_env,
fut: Fut,
resolver: Resolver
) -> Result<napi_value>