gorules / zen

Open-source Business Rules Engine for your Rust, NodeJS, Python or Go applications.
https://gorules.io
MIT License
770 stars 74 forks source link

feat: add nodejs dispose function #146

Closed stefan-gorules closed 5 months ago

stefan-gorules commented 5 months ago

Adds a new function dispose to ZenEngine. This function should be called to ensure proper clean up of memory when creating large numbers of ZenEngine instances.

In future, this will be made automatic when NAPI-RS releases new version.