OnStart
On resource start
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 start | ---- |
Example
Last updated