ternjs / tern_for_sublime

Sublime Text package adding Tern support
MIT License
803 stars 54 forks source link

Adds async function for ST 3 on_deactivated, fixes #21 #33

Closed subhaze closed 10 years ago

subhaze commented 10 years ago

@marijnh, there shouldn't be any thread safety issues.

"Asynchronous Events

In Sublime Text 2, only the set_timeout method was thread-safe. In Sublime Text 3, every API method is thread-safe. Furthermore, there are now asynchronous event handlers, to make writing non-blocking code easier:" ...

The article quoted can be found here http://www.sublimetext.com/docs/3/porting_guide.html

marijnh commented 10 years ago

Thanks, that is good to know—makes things pleasantly simple.