OnStop
On resource stop
Parameters description
Parameter | Type | Description | Default |
---|---|---|---|
resName | string|'any'|? | The resource name or nil for the cur one | current resource |
cb | fun(resource: string) | The function that triggers when resource is stopped | ---- |
Example
Last updated