Other
Members not yet sorted into a library.
Available Functions
| Function | Description |
|---|---|
| warn | Prints the given values through the same output path as print. Compat shim installed only when the environment does not already provide warn. |
| tick | Returns the current Unix epoch time in seconds with sub second precision. |
| time | Same as tick(): current Unix epoch time in seconds with sub second precision. |
| elapsedTime | Returns the number of seconds elapsed since the process started, measured on a monotonic clock. |
| wait | Yields the current thread for the given number of seconds (default ~0.03) and returns the actual elapsed time. |
| spawn | Schedules the function to run as soon as possible on a new thread. |
| delay | Schedules the function to run on a new thread after the given number of seconds. |
| printidentity | Prints the current thread identity as 'Current identity is N'. |
| version | Returns the compat layer version string. |
| shared | A plain persistent table shared across all scripts executed in this state. |
| ypcall | Alias of pcall. |
| collectgarbage | Supports only the 'count' action, returning memory in use in kilobytes. Any other action raises a capability error. |
| Wait | Deprecated capitalized alias of wait. |
| Spawn | Deprecated capitalized alias of spawn. |
| Delay | Deprecated capitalized alias of delay. |
| ElapsedTime | Deprecated capitalized alias of elapsedTime. |
| Version | Deprecated capitalized alias of version. |