Neither! It's a plugin I've made for Firebase, using the REST API.
Viewing post in GOTM.io Jam 3: Auntie Ant jam comments
I mean, technically JS is used for the fetch API but Godot handles all that. This is written entirely in GDScript utilizing my plugin. If you're curious to see it, check it out at: https://github.com/GodotNuts/GodotFirebase. No active polling - we handle streaming through a custom HTTPClient that I also implemented.