mirror of
https://github.com/fluencelabs/aqua-lib
synced 2025-04-25 07:52:14 +00:00
Remove delay from Script.add (#25)
This commit is contained in:
parent
69dbb49db6
commit
d24d2bf6ed
@ -247,10 +247,7 @@ service Script("script"):
|
|||||||
-- - if set, script will be ran once in the interval
|
-- - if set, script will be ran once in the interval
|
||||||
-- - if not set, script will be ran only once
|
-- - if not set, script will be ran only once
|
||||||
-- (NOTE: an actual interval may vary by up to 3 seconds)
|
-- (NOTE: an actual interval may vary by up to 3 seconds)
|
||||||
-- delay - delay script run time in seconds
|
add(air_script: string, interval: ?u64) -> string
|
||||||
-- - 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
|
|
||||||
|
|
||||||
-- Removes recurring script from a node. Only a creator of the script can delete it
|
-- Removes recurring script from a node. Only a creator of the script can delete it
|
||||||
remove(script_id: string) -> bool
|
remove(script_id: string) -> bool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user