deserialize

fun <T : Event> deserialize(eventFrame: EventResponseFrame, eventSerializer: KSerializer<T>): T
fun deserialize(eventFrame: EventResponseFrame): Event

Deserializes EventResponseFrame into concrete event type representation using serializer returned by EventSerializers.getByEventName.