Skip to content

Instantly share code, notes, and snippets.

@mikhailshilkov
Created December 19, 2018 23:05
Show Gist options
  • Save mikhailshilkov/c09b5755225d61facf9d5cf25b7961e3 to your computer and use it in GitHub Desktop.
Save mikhailshilkov/c09b5755225d61facf9d5cf25b7961e3 to your computer and use it in GitHub Desktop.
[<FunctionName("FindMatchingGift")>]
let FindMatchingGift([<ActivityTrigger>] wish) =
Activity.run findMatchingGiftActivity wish
[<FunctionName("PickGift")>]
let PickGift([<ActivityTrigger>] matches) =
Activity.run pickGiftActivity matches
[<FunctionName("Reserve")>]
let Reserve([<ActivityTrigger>] wish) =
Activity.run reserveActivity wish
[<FunctionName("WishlistFulfillment")>]
let Workflow ([<OrchestrationTrigger>] context: DurableOrchestrationContext) =
Orchestrator.run (workflow, context)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment