This is the code for this tutorial:
https://fauna.com/blog/using-faunas-streaming-feature-to-build-a-chat-with-svelte
The code is complete, but to make this work you need to add the necessary authorization configs detailed in the tutorial.