Add orchestration.rs template

This commit is contained in:
t-eckert 2019-07-24 13:01:25 -07:00 committed by Peter Huene
parent fd6772f845
commit a19af7ad76
No known key found for this signature in database
GPG Key ID: E1D265D820213D6A
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
use azure_functions::{bindings::DurableOrchestrationContext, durable::OrchestrationOutput, func};
#[func]
pub async fn {{name}}(context: DurableOrchestrationContext) -> OrchestrationOutput {
"Hello from {{name}}!".into()
}