{"action":"closed","issue":{"url":"https://api.github.com/repos/nanophotonics/nplab/issues/1","labels_url":"https://api.github.com/repos/nanophotonics/nplab/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/nanophotonics/nplab/issues/1/comments","events_url":"https://api.github.com/repos/nanophotonics/nplab/issues/1/events","html_url":"https://github.com/nanophotonics/nplab/issues/1","id":65796330,"number":1,"title":"Threading decorators don't work on Traits handlers","user":{"login":"rwb27","id":5029703,"avatar_url":"https://avatars.githubusercontent.com/u/5029703?v=3","gravatar_id":"","url":"https://api.github.com/users/rwb27","html_url":"https://github.com/rwb27","followers_url":"https://api.github.com/users/rwb27/followers","following_url":"https://api.github.com/users/rwb27/following{/other_user}","gists_url":"https://api.github.com/users/rwb27/gists{/gist_id}","starred_url":"https://api.github.com/users/rwb27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwb27/subscriptions","organizations_url":"https://api.github.com/users/rwb27/orgs","repos_url":"https://api.github.com/users/rwb27/repos","events_url":"https://api.github.com/users/rwb27/events{/privacy}","received_events_url":"https://api.github.com/users/rwb27/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nanophotonics/nplab/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-01T23:01:24Z","updated_at":"2015-09-30T16:14:06Z","closed_at":"2015-09-30T16:14:06Z","body":"If I use the @background_action decorator on the _button_fired() function of a HasTraits object, it seems to have no effect.\r\n\r\nWorkaround: define two functions, one regular function and one traits function.  Have the traits function call the regular one, and put the decorators on the regular one."}}