Fix setTimeout

This commit is contained in:
2025-01-18 16:24:46 +08:00
parent d9084272e5
commit 1abf9c151e
3 changed files with 22 additions and 4 deletions

View File

@@ -4,6 +4,13 @@ Venera JavaScript Library
This library provides a set of APIs for interacting with the Venera app.
*/
function setTimeout(callback, delay) {
sendMessage({
method: 'delay',
time: delay,
}).then(callback);
}
/// encode, decode, hash, decrypt
let Convert = {
/**