Web API
The globalThis global object, compatible with WinterTC web platform APIs.
See
Namespaces
| Namespace | Description |
|---|---|
‐ | |
‐ |
Classes
| Class | Description |
|---|---|
Decode bytes array into string text. See | |
Encode string text into bytes, it only supports "utf-8" encoding. See |
Type Aliases
| Type Alias | Description |
|---|---|
Functions
| Function | Description |
|---|---|
Cancel a repeated timer previously established by calling setInterval. Throws Throws TypeError if ID is not an integer. | |
Cancel a timeout previously established by calling setTimeout. Throws Throws TypeError if ID is not an integer. | |
A microtask is a short function which is executed after the function or module which created it exits and only if the JavaScript execution stack is empty, but before returning control to the event loop being used to drive the script's execution environment. Throws Throws TypeError if callback is not a function. | |
Dispatch an uncaught exception. Similar to synchronous version of | |
Set a repeated timer that calls a function, with a fixed time delay between each call. Throws Throws TypeError if callback is not a function, or delay is neither a number or undefined. | |
Set a timer which executes a function or specified piece of code once the timer expires. Throws Throws TypeError if callback is not a function, or delay is neither a number or undefined. |