docs » cp.config.shutdownCallback
Shutdown Callback Module.
- Methods - API calls which can only be made on an object returned by a constructor
- callbackFn
- get
- getAll
- id
- new
| Signature | cp.config.shutdownCallback:callbackFn() -> function |
|---|---|
| Type | Method |
| Description | Returns the callbackFn of the current Shutdown Callback |
| Parameters |
|
| Returns |
|
| Signature | cp.config.shutdownCallback:get(id) -> table |
|---|---|
| Type | Method |
| Description | Creates a new Shutdown Callback. |
| Parameters |
|
| Returns |
|
| Signature | cp.config.shutdownCallback:getAll() -> table |
|---|---|
| Type | Method |
| Description | Returns all of the created Shutdown Callbacks |
| Parameters |
|
| Returns |
|
| Signature | cp.config.shutdownCallback:id() -> string |
|---|---|
| Type | Method |
| Description | Returns the ID of the current Shutdown Callback |
| Parameters |
|
| Returns |
|
| Signature | cp.config.shutdownCallback:new(id, callbackFn) -> table |
|---|---|
| Type | Method |
| Description | Creates a new Shutdown Callback. |
| Parameters |
|
| Returns |
|