Skip to content

Instantly share code, notes, and snippets.

module Orders.Service
open Orders.Domain
open Akka.Actor
type OrderCommand =
| CreateOrder of customerId: string * orderId: string
| UpdateOrder of order: Order * status: OrderStatus
| CancelOrder of order: Order
| ConfirmOrder of id: OrderId