get

fun get(): <Error class: unknown class>?

Returns the current value of the thread local variable @key.

If the value has not yet been set in this thread, null is returned. Values are never copied between threads (when a new thread is created, for example).

Return

the thread-local value