alibaba / transmittable-thread-local

📌 a missing Java std lib(simple & 0-dependency) for framework/middleware, provide an enhanced InheritableThreadLocal that transmits values between threads even using thread pooling components.
https://github.com/alibaba/transmittable-thread-local
Apache License 2.0
7.59k stars 1.69k forks source link

First-class support for Kotlin language #119

Closed oldratlee closed 1 year ago

oldratlee commented 5 years ago

include but not limited to:

// use TTL in Kotlin like this?
val ttl: Ttl<String> = ttl("value")

Make a dedicated package with kt deps + ttl dep (2 or 3 together) ?

this feature is provided by @rybalkinsd ❤️

PS: Kotlin coroutine integration, in the dedicated issue #118

oldratlee commented 1 year ago