lunatic-solutions / lunatic

Lunatic is an Erlang-inspired runtime for WebAssembly
https://lunatic.solutions
Apache License 2.0
4.57k stars 136 forks source link

Add environment spawn limit #184

Closed kosticmarin closed 1 year ago

kosticmarin commented 1 year ago

This change add can_spawn_next_process function to the Environment. Currently the default implementation always returns a unit type which does not impose limits to spawning a new process.