Christer Palm
12/09/2024, 2:33 PMsuspend fun <T : Any> loadItem(deserializer: Deserializationstrategy<T>): Promise<T>
Naively, I try:
val promise : Promise<T> = RestClient().call(url) ...
But that throws an error "Cannot use 'T' as a reified type parameter. Use a class instead.".
Any suggestions how I can get around this?