fix(napi): need Send with Task trait
This commit is contained in:
parent
8f02c65831
commit
e866278654
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
use crate::js_values::NapiValue;
|
||||
use crate::{Env, Result};
|
||||
|
||||
pub trait Task {
|
||||
pub trait Task: Send {
|
||||
type Output: Send + Sized + 'static;
|
||||
type JsValue: NapiValue;
|
||||
|
||||
|
|
Loading…
Reference in a new issue