@rbxts/types 1.0.589 → 1.0.590
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/lua.d.ts +9 -0
- package/package.json +1 -1
package/include/lua.d.ts
CHANGED
|
@@ -306,6 +306,15 @@ declare namespace debug {
|
|
|
306
306
|
: T extends `${infer A}${infer _}`
|
|
307
307
|
? LuaTuple<TS.InfoFlags<[A]>>
|
|
308
308
|
: LuaTuple<[unknown, unknown, unknown, unknown, unknown]>;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Assigns a custom tag name to the current thread's memory category in the Developer Console. Useful for analyzing memory usage of multiple threads in the same script which would otherwise be grouped together under the same tag/name.
|
|
312
|
+
*/
|
|
313
|
+
function setmemorycategory(tag: string): void;
|
|
314
|
+
/**
|
|
315
|
+
* Resets the tag assigned by `debug.setmemorycategory` to the automatically assigned value (typically, the script name).
|
|
316
|
+
*/
|
|
317
|
+
function resetmemorycategory(): void;
|
|
309
318
|
}
|
|
310
319
|
|
|
311
320
|
interface String {
|