Is it possible to provide more details on where one must use the lambdaN() functions?
Nothing in the examples/ folder uses it as far as I can tell, yet closures are a big part of JS/TS in general and one might think they need to use lambdaN() everywhere, since the Readme says:
You must declare any Sodium objects held inside closures using wrapper functions lambda1, [...]
The API docs speak of it in terms of
There is something in the test suite, but it's not entirely clear to me why it's necessary in the map_track test since
t isn't actually used in the lambda. Lower down, in switchC, at a glance it makes more sense to me since
cb are only referenced in that lambda and not used elsewhere... but I'm still not 100% clear on where I need to use lambdaN() and where I don't.