If we could adopt visitor pattern, would async-decoding be possible? (I'm imagining fetching a large XML file via HTTP. We might want to disconnect if an invalid format is detected.)
One more bike-shedding: Do we want to rename Codable to e.g. @Serializable taking this opportunity? [1]