Distributed Systems, Nodejs, Node, Typescript, JavaScript.
createOrder: t.procedure .input(z.object({ productId: z.number(), orderId: z.string() })) .mutation(async ({ input, ctx }) => { await ctx.temporal.workflow.start(order, { workflowId: input.orderId, args: [input.productId], taskQueue, }) return 'Order received and persisted!' }), The order function