tag

fun <T : Any> tag(type: Class<T>, tag: T?): B
fun <T : Any> tag(type: KClass<T>, tag: T?): B

Attaches tag to the request using type as a key. Tags can be read from a request using Taggable.tag. Use null to remove any existing tag assigned for type.

Use this API to attach originating elements, debugging, or other application data to a spec so that you may read it in other APIs or callbacks.