Hey, I am using the core_sdk in rust. I registered an activity, which should be able to consume following ts type: functionName: string, parameters: any, second: any (data attached in screenshot).
My rust code:
worker.register_activity("echo_activity", |_ctx: ActContext, parameters: Value| async move { (Value is from type of serde value)
If I use the code above, parameters is just the data of second -> { "second": true}, so the last object in the array data is parsend into parameters.
I also tried to use Vec<Value>, but then the activity just stuck and nothing happens. I also got no error and the workflow is also stuck in state Running
#Rust sdk register_actity_type
3 messages · Page 1 of 1 (latest)
What crate are you using?
deno_core = "0.249.0"