facebookarchive / swift

An annotation-based Java library for creating Thrift serializable types and services.
Apache License 2.0
900 stars 297 forks source link

Maintain request context in asynchronousInvoke #221

Closed haijunz closed 10 years ago

haijunz commented 10 years ago

Summary: Listenes are fired on different thread for an async invoke. Save/load the thread local request context so the event handlers relying on it will work.

alandau commented 10 years ago

lgtm