what's the best practice for type safe queues? define a zod schema and check the payload, and reject

what's the best practice for type safe queues? define a zod schema and check the payload, and reject it if it doesn't match the expected shape?
Was this page helpful?