From d24d2bf6ed4cfe9a83c938b5c2214a607e4e889f Mon Sep 17 00:00:00 2001 From: folex <0xdxdy@gmail.com> Date: Mon, 25 Apr 2022 17:21:02 +0400 Subject: [PATCH] Remove delay from Script.add (#25) --- builtin.aqua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/builtin.aqua b/builtin.aqua index df5dae4..ed2a30a 100644 --- a/builtin.aqua +++ b/builtin.aqua @@ -247,10 +247,7 @@ service Script("script"): -- - if set, script will be ran once in the interval -- - if not set, script will be ran only once -- (NOTE: an actual interval may vary by up to 3 seconds) - -- delay - delay script run time in seconds - -- - if set, script will be delayed on the delay time - -- - if not set, script will be delayed on a random value in [0, interval] - add(air_script: string, interval: ?u64, delay: ?u64) -> string + add(air_script: string, interval: ?u64) -> string -- Removes recurring script from a node. Only a creator of the script can delete it remove(script_id: string) -> bool