cancel(obj)
| Parameter | Description |
|---|---|
| obj | object that supports cancellation, such as an asynchronous evaluation object. |
cancel requests cancellation of an object that supports asynchronous work. The object type provides the concrete behavior.
If the first argument does not implement cancellation, Nelson reports that the function is not implemented for that type.
f = parfeval(@pause, 0, 10);
cancel(f)
| Version | Description |
|---|---|
| 2.0.0 | initial version |