ExecutorDelete
Last updated
Was this helpful?
Deletes an executor from the registry by name.
If the executor has not been shutdown, it will be forcibly shutdown via shutdownNow() before removal.
ExecutorDelete(name=[string])name
string
true
The name of the executor to delete
executorNew( "tempPool", "fixed", 4 );
executorDelete( "tempPool" );
writeOutput( executorHas( "tempPool" ) );
Result: false
Result: deleted
Last updated
Was this helpful?
Was this helpful?
executorNew( "myPool", "cached" );
deleted = executorDelete( "myPool" );
writeOutput( isNull( deleted ) ? "null" : "deleted" );
