temporalio-sdk-core 0.4.0

Library for building new Temporal SDKs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use temporalio_macros::activities;

pub struct BadActivities;

#[activities]
impl BadActivities {
    #[activity]
    pub async fn no_context(_in: String) -> Result<String, ActivityError> {
        // This should fail because there's no ActivityContext parameter
        Ok("bad".to_string())
    }
}

fn main() {}