studiole-command 0.4.1

A simple command execution framework with event subscription and progress tracking.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::prelude::*;

/// Lifecycle stage of a command.
#[derive(Clone, Debug, Deserialize, Serialize)]
pub enum EventKind {
    Queued,
    Executing,
    Succeeded,
    Failed,
}