[example] additional notes
This commit is contained in:
@@ -98,4 +98,10 @@ async function showcase(){
|
||||
//returns the data if success, null if failed.
|
||||
const data = await getState("somedata")
|
||||
const anotherdata = await getState("anotherdata")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// --- additional notes
|
||||
// the code are parsed everytime, so complex codes would slow down the program.
|
||||
// the function must be return in 400ms, or it would be timeout.
|
||||
// for security reasons, you can only access limited apis.
|
||||
Reference in New Issue
Block a user