On Sunday, July 19, 2020 at 3:24:36 AM UTC-7, Jed Carty wrote:
>
> To join in the fun, I also made a $action-delay widget that delays the 
> execution of any action widgets contained inside it by a set time. It is an 
> action widget so it gets triggered by the normal mechanisms.
> https://ooktech-tw.gitlab.io/plugins/delayactions/
>

Except for the optional autostart="true" param (to invoke the widget 
outside of a $button) and using milliseconds
for the delay value, my code does pretty much the same as your 
$action-delay widget.

Normally, I eschew duplication of efforts, but in this case, I think I will 
stick with my own version of this widget
primarily because of the two differences noted above.  Triggering timeouts 
more often than 1 second is
useful when calculating elapsed times with sufficient accuracy to avoid 
processing overhead effects
as well as getting sub-second accuracy.

...and, I still think that the autostart="true" param has promise, even 
though it *might* cause some
"run-away" triggers if not used carefully.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/18fde75b-ff2f-4d1a-8068-0d705972c8c3o%40googlegroups.com.

Reply via email to