AsyncDispatcher

annotation class AsyncDispatcher(val dispatcher: String)

Annotation that allows explicitly setting the dispatcher for coroutine async jersey resource methods. dispatcher can be any of: "Default", "IO", "Unconfined" ("Main" supported if a main dispatcher artifact is imported, but generally doesn't apply to a server)

Constructors

Link copied to clipboard
fun AsyncDispatcher(dispatcher: String)

Properties

Link copied to clipboard
val dispatcher: String