You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to do similar to below? I wanted to trigger a system with or without B
#[system]
fn hello_world(a: &A, b: &mut Option<B>) {
if let Some(b) = b {
println!("Both A and B is present: A={} and B={}", &a.value, &b.value);
} else {
println!("Only A is present: A={}", &a.value);
}
}
The text was updated successfully, but these errors were encountered:
Hi,
Is it possible to do similar to below? I wanted to trigger a system with or without
B
The text was updated successfully, but these errors were encountered: