exit#

LocalMechanicalPool.exit(block=False)#

Exit all Mechanical instances in the pool.

Parameters:
blockbool, optional

Whether to wait until all processes close before exiting all instances in the pool. The default is False.

Examples

>>> pool.exit()