#cp.config.shutdownCallback
Shutdown Callback Module.
#API Overview
Methods - API calls which can only be made on an object returned by a constructor
#API Documentation
#Methods
Signature | cp.config.shutdownCallback:callbackFn() -> function |
Type | Method |
Description | Returns the callbackFn of the current Shutdown Callback |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/config/init.lua line 403 |
Signature | cp.config.shutdownCallback:get(id) -> table |
Type | Method |
Description | Creates a new Shutdown Callback. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/config/init.lua line 364 |
Signature | cp.config.shutdownCallback:getAll() -> table |
Type | Method |
Description | Returns all of the created Shutdown Callbacks |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/config/init.lua line 377 |
Signature | cp.config.shutdownCallback:id() -> string |
Type | Method |
Description | Returns the ID of the current Shutdown Callback |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/config/init.lua line 390 |
Signature | cp.config.shutdownCallback:new(id, callbackFn) -> table |
Type | Method |
Description | Creates a new Shutdown Callback. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/config/init.lua line 337 |