You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
Add a keyword wait that will wait for one tick.
To wait 2 or more ticks there should be a process with the name wait with a parameter time of type value as defined in #31.
This process should have the modifier remote (#34) to make sure that calling and returning takes one tick each.
Instead of a wait keyword we could use an inline process with an embedded script via #43. The script would then check the ticks parameter to decide whether to delegate to a remote implementation or use a local 1 tick delay:
If the first implementation is chosen (wait keyword) it might be possible to remove the keyword skip and relative this inserts /say ${this + 1}, because they are only really useful for waiting one tick. This would simplify a lot of code, because we could get rid of the internal/generated by flag. Maybe relative this inserts should be kept for debugging purpuses, in which case they could just operate in chainlink basis rather than on chainpart basis.
Add a keyword
wait
that will wait for one tick.To wait 2 or more ticks there should be a process with the name wait with a parameter time of type value as defined in #31.
This process should have the modifier
remote
(#34) to make sure that calling and returning takes one tick each.An implementation could look roughly like this:
The text was updated successfully, but these errors were encountered: