Parallel
The parallel module provides tools for running computations asynchronously in the background, managing task scheduling, and retrieving results.
It enables Nelson programs to execute functions concurrently, improving efficiency and responsiveness by offloading work to background workers.
Functions
afterAll - Run function after all functions finish running in the background.
afterEach - Run function after each function finish running in the background.
backgroundPool - Environment for running nelson's code in the background.
cancel - Stop function running in the background.
cancelAll - Stop all functions running in the background.
fetchNext - Retrieve next unread outputs from FevalFuture array.
fetchOutputs - Retrieve results from function running in the background pool.
parfeval - Run function in background.
wait - Wait for futures to be completed.
Last updated
Was this helpful?