Distributed Systems, Nodejs, Node, Typescript, JavaScript.
function: apps/driver/pages/api/[trpc].ts pickUp: t.procedure .input(z.string()) .mutation(async ({ input: orderId, ctx }) => ctx.temporal.workflow.getHandle(orderId).signal(pickedUpSignal) ), The order function handles the Signal by updating the state: packages/workflows/order.ts export const