padolsey / operative

:dog2: Seamlessly create Web Workers
MIT License
655 stars 45 forks source link

Consider renaming destroy to terminate, or at least alias it #14

Closed evanworley closed 11 years ago

evanworley commented 11 years ago

This might make traditional web worker migration to operative a little more seamless. This just hit me, where my old code which had been ported to operative was still calling terminate.

padolsey commented 11 years ago

Good idea. This'll go into the next release.

padolsey commented 11 years ago

I think alias would be best, to retain backwards-compat. Possibly deprecate 'destroy'.

padolsey commented 11 years ago

Decided to go ahead and add this all by its lonesome to 0.3.0 https://github.com/padolsey/operative/commit/5325ed24e9cb0b99b8254e173e050847745a2529