Skip navigation
Learn "use workflow" in Next.js quickly. Game changer for background jobs, cron jobs, webhooks, etc.
0:00 / 34:40

Learn "use workflow" in Next.js quickly. Game changer for background jobs, cron jobs, webhooks, etc.

Wesley

@bytegrad1.8K followers

Visit on X
371 likesDownloadOriginal post

16,022 views

Learn "use workflow" in Next.js quickly. Game changer for background jobs, cron jobs, webhooks, etc. 00:00 Intro 01:10 Demo 06:15 "use workflow" 06:43 "use step" 10:19 Sequential vs parallel 10:44 Human-in-the-loop (hook) 13:03 sleep 17:00 Streaming 21:09 Observability

9 Comments

Comments from the original post on X (Twitter)

  • Motia's profile picture

    @motiadev

    @wesley_bytegrad 👀

    2 likes

  • Ditectrev's profile picture

    @Ditectrev

    @wesley_bytegrad You’re an amazing teacher!

    1 like

  • Wellington Prado's profile picture

    @well_deskree

    @wesley_bytegrad That's amazing. Having the opportunity to do that inside Next.js trully give Front End Engineers a lot room to work without depending 100% on the backend. That's great!

    1 like

  • Karan Jagtiani's profile picture

    @karanjagtiani04

    @wesley_bytegrad Nice breakdown-useful for handling complex async flows without juggling queues manually. How’s the dev experience compared to traditional job libs?

    1 like

  • Diego Martinez's profile picture

    @dgmrtnz_dev

    @wesley_bytegrad Very nice video! 👌

    1 like

  • Andry Dina's profile picture

    @andrydina7

    @wesley_bytegrad thanks for this video

    1 like

  • Diego Martinez's profile picture

    @dgmrtnz_dev

    @wesley_bytegrad Do you know if we can use async generators to generate N steps?

  • Andres R silva's profile picture

    @andres_systems

    @wesley_bytegrad Durability and observability at the workflow level are huge. One thing I’ve been looking at is what happens after systems are durable: cases where execution keeps running, but the trajectory stops making structural progress and just repeats. Different layer of observability.

  • Nyoman Sunima's profile picture

    @nyomansunima

    @wesley_bytegrad Upstash do the same thing with simpler step