Follow

Async Generators are by far my favourite feature.

· · Web · 2 · 1 · 4

@mauve what usecase? I really feel there's something Im missing about them.

@lvk Mostly for processing streams of data. e.g. I'm using them for a mic input -> ASR -> STT -> LLM loop and it was way easier than the original callback based flow.

@lvk @soapdog Things got a lot nicer now that abort signals are more widespread too.

@mauve @lvk seems really cool, can't wait to hear about what you cooking up with that pipeline.

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.