afterAll

Run function after all functions finish running in the background.

📝 Syntax

  • B = afterAll(F, fcn, n)

📥 Input argument

  • F - Input Future object (scalar or array).

  • fcn - Function handle: Function to run after all input futures.

  • n - Number of output arguments.

📤 Output argument

  • B - AfterAllFuture object.

📄 Description

B = afterAll(F, fcn, n) returns a AfterAllFuture objectB.

Functionfcn is automatically runned after all elements in the Future arrayF were finished.

If any of the elements in F encounters an error, theError property of B contains an error.

💡 Example

🔗 See also

backgroundPool, fetchOutputs, afterEach.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?