Problemunvalidated
the reason for the various threads appearing in the logs — when you pass a synchronous generator to `EventSourceResponse`. Tension: you seem to be returning from the `/` endpoint. Outcome: `EventSourceResponse` will execute the `def` function in a separate thread from an external threadpool and then `await` it.
390ce058-c2fd-4f0e-9b3f-e05e97a4d311
the reason for the various threads appearing in the logs — when you pass a synchronous generator to EventSourceResponse. Tension: you seem to be returning from the / endpoint. Outcome: EventSourceResponse will execute the def function in a separate thread from an external threadpool and then await it.