pub struct ResumeSignal {
pub signal_id: SignalId,
pub signal_name: String,
pub signal_category: String,
pub source_type: String,
pub source_identity: String,
pub correlation_id: String,
pub accepted_at: TimestampMs,
pub payload: Option<Vec<u8>>,
}Expand description
Signal that satisfied a waitpoint matcher and is therefore part of
the reason an execution resumed. Returned by observe_signals
(RFC-012 §3.1.2) and by ClaimedTask::resume_signals in ff-sdk.
Moved in Stage 0 from ff_sdk::task; ff_sdk::ResumeSignal remains
re-exported through the 0.4.x window (removal scheduled for 0.5.0).
Returned only for signals whose matcher slot in the waitpoint’s resume condition is marked satisfied. Pre-buffered-but-unmatched signals are not included.
Note: NOT #[non_exhaustive] to preserve struct-literal compatibility
with ff-sdk call sites that constructed ResumeSignal { .. } before
the Stage 0 crate move.
Fields§
§signal_id: SignalId§signal_name: String§signal_category: String§source_type: String§source_identity: String§correlation_id: String§accepted_at: TimestampMsValkey-server now_ms timestamp at which ff_deliver_signal
accepted this signal. 0 if the stored accepted_at field is
missing or non-numeric (a Lua-side defect — not expected at
runtime).
payload: Option<Vec<u8>>Raw payload bytes, if the signal was delivered with one. None
for signals delivered without a payload.
Trait Implementations§
Source§impl Clone for ResumeSignal
impl Clone for ResumeSignal
Source§fn clone(&self) -> ResumeSignal
fn clone(&self) -> ResumeSignal
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more