pub trait TaskFn:
Send
+ Sync
+ 'static {
// Required method
fn functor(
&self,
this: Option<RawVc>,
arg: &dyn MagicAny,
) -> Result<Pin<Box<dyn Future<Output = Result<RawVc>> + Send>>>;
}
pub trait TaskFn:
Send
+ Sync
+ 'static {
// Required method
fn functor(
&self,
this: Option<RawVc>,
arg: &dyn MagicAny,
) -> Result<Pin<Box<dyn Future<Output = Result<RawVc>> + Send>>>;
}