aion-rs 0.1.0

Transport-agnostic Aion workflow engine with durability, replay, timers, and supervision.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Durable signal command helpers.

use aion_core::{Payload, WorkflowId};

/// Target and content for a workflow-originated signal send.
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct SignalDelivery {
    /// Workflow that should receive the signal.
    pub target_workflow_id: WorkflowId,
    /// Signal name selected by workflow code.
    pub name: String,
    /// Opaque signal payload.
    pub payload: Payload,
}