Skip to content

Instantly share code, notes, and snippets.

@lbatteau
Last active January 18, 2021 20:25
Show Gist options
  • Save lbatteau/5a6911fa40211f9982946d5a2cf0fa09 to your computer and use it in GitHub Desktop.
Save lbatteau/5a6911fa40211f9982946d5a2cf0fa09 to your computer and use it in GitHub Desktop.
stream
@app.get("/sse/stream")
async def stream():
return EventSourceResponse(subscribe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment