Trait TaskFn

Source
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>>>;
}

Required Methods§

Source

fn functor( &self, this: Option<RawVc>, arg: &dyn MagicAny, ) -> Result<Pin<Box<dyn Future<Output = Result<RawVc>> + Send>>>

Implementors§