stateAs

inline fun <T> stateAs(serializer: SupabaseSerializer): T(source)

Decodes state as T

Note: You also receive your own presence, but without your state so be aware of exceptions or use stateAsOrNull instead