Delete a module. A SIGTERM
signal will be send to the process for the module which might cancel running futures.
This function generates a change.
del_module(name)
Argument | Type | Description |
---|---|---|
name | str (required) | Name of the module to delete. |
Returns nil
when successful.
This code will delete module DEMO:
// Delete module `DEMO`
del_module('DEMO');