[−][src]Trait mcai_worker_sdk::MessageEvent
Trait to describe a worker
Implement this trait to implement a worker
Required methods
fn get_name(&self) -> String
fn get_short_description(&self) -> String
fn get_description(&self) -> String
fn get_version(&self) -> Version
Provided methods
fn init(&mut self) -> Result<()>
fn process(
&self,
_channel: Option<McaiChannel>,
_parameters: P,
_job_result: JobResult
) -> Result<JobResult> where
Self: Sized,
&self,
_channel: Option<McaiChannel>,
_parameters: P,
_job_result: JobResult
) -> Result<JobResult> where
Self: Sized,
Not called when the "media" feature is enabled