Christopher Hübner
suspend fun <T : Any> fail(context: PipelineContext<Unit, ApplicationCall>): T? { return try { context.call.receive<T>() } catch (ex: ContentTransformationException) { null } }
Cannot use T as refined parameter. Use class instead.
Shawn
fail()
suspend inline fun
reified T : Any
A modern programming language that makes developers happier.