
[Weekend Drop] Swyx on the MongoDB Podcast
The Swyx Mixtape
00:00
Using a Workflow to Write Clients, Workers, Activities and Workflows
With temporal you don't actually have to make a call to up date state. We do that for you. You are importing a library. There's a bundle library called temporalio thaty import, and that exposes four packages for you to write clients, workers, activities and work flow. And it depends on which part of the stack you're operating at, really. But essentially, for example, i'll just give you tethe key example that blows everyone away. Ah, imagine in a billing example, and you needed to charge a customer some money every 30 days. So what you do is you do wild true, charged customer some amount, sleep 30 days, and then just loop infinitely
Transcript
Play full episode