[−][src]Trait napi::Task
Associated Types
Loading content...Required methods
pub fn compute(&mut self) -> Result<Self::Output>[src]
Compute logic in libuv thread
pub fn resolve(self, env: Env, output: Self::Output) -> Result<Self::JsValue>[src]
Into this method if compute return Ok
Provided methods
pub fn reject(self, _env: Env, err: Error) -> Result<Self::JsValue>[src]
Into this method if compute return Err