FunctionServerSentEvent
class FunctionServerSentEvent(val data: String?, val event: String?, val id: String?, serializer: SupabaseSerializer)(source)
Represents a Server-Sent Event received from an edge function.
This is a wrapper around Ktor's io.ktor.sse.ServerSentEvent that adds decodeAs for conveniently deserializing the data payload using the Functions plugin's serializer.