JS Wrapper or Higher Level API

Thanks @happybeing.

This sort of follows a discussion in another thread (which I think you were part of) regarding whether or not to save handles and reuse them, or to free them as soon as possible.

I plan to free them as soon as possible (arguments in favor of such methodology made in that thread), which means a lot of redundant initialization code for each operation. I could see the potential for reuse with some of the generalized wrappers I’m writing over top the API.

3 Likes