How Pokio's asynchronous model works
mainPokio provides an asynchronous API by using the PCNTL extension to fork the current process and run closures in child processes. This allows multiple tasks to run concurrently without blocking the main process.
For efficient data sharing between the parent and child processes, Pokio uses FFI to create a shared memory segment.
Fallback Behavior: If the PCNTL or FFI extensions are not available, Pokio automatically falls back to sequential execution, ensuring the code still runs (though without concurrency benefits).