From 7534e1bc29e5094780210762a565a5bb592428da Mon Sep 17 00:00:00 2001 From: kwaroran Date: Thu, 9 Nov 2023 13:12:48 +0900 Subject: [PATCH] [example] update state limit --- src/etc/example-char.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/etc/example-char.js b/src/etc/example-char.js index 1accb7f2..3c0fb29d 100644 --- a/src/etc/example-char.js +++ b/src/etc/example-char.js @@ -46,7 +46,7 @@ async function onButtonClick(code){ } -function showcase(){ +async function showcase(){ //this is a function for just introducing the apis. @@ -86,6 +86,7 @@ function showcase(){ //setState(stateName, data) sets the states of the character. //states are used to store data, because the data would be lost every time when function is called. + //if data is string, it must be less or equal to 100000 characters. //stateName must be a valid string. //data must be a valid string, number or boolean. //returns true if success, false if failed.