pub trait ExecutionTaskCompletionNotifier: Send {
// Required methods
fn notify(&self, notification: ExecutionTaskCompletionNotification);
fn clone_box(&self) -> Box<dyn ExecutionTaskCompletionNotifier>;
}
Expand description
Allows sending a notification to the scheduler that execution of a task has completed.
Required Methods§
sourcefn notify(&self, notification: ExecutionTaskCompletionNotification)
fn notify(&self, notification: ExecutionTaskCompletionNotification)
Sends a notification to the scheduler.