DelayHandler - Extension - May be similar, but definitely different!

Nice job. But I didn’t understand the use of this extension. Is it similar to clock component’s timer?

2 Likes

Just try the extension, then you can feel the difference.

It provides different delays to execute different procedures, this helps in parallel processing.

If you have touch in programming embedded systems, then you can feel the essence of this extension.

3 Likes

The same question:

Is there a difference in the accuracy with which this extension works compared to the Clock component?

Because the clock is very imprecise, see for example here:

2 Likes

Yes it is precise. Try it with any code.

1 Like

Great extension!!! :star_struck:

1 Like

I did a first little test (a 5 min countdown):

The accuracy is actually better than with the clock. In a 5 minute countdown, the extension only loses a little more than 1 second compared to a chronometer.

Of course, that’s not the purpose of your extension, it was just a small test to see what the extension can be used for.

If the .AfterDelay event is not triggered regularly (excessively often), the delay seems to be quite precise.

2 Likes

Wow, thank you so much for making such a useful extension. I was looking for something like this. :heart:

Thank you very much for your analysis.

Please say your conclusion. I am eager to hear that.

2 Likes

As I said before, for the purposes you presented, it seems to work well and give better / more accurate results than the clock component.

Note: The extension doesn’t work in the background (idle / sleep mode or after pressing the Home button).

1 Like

Thank you.

I try to make this extension run in background.

3 Likes

Very nice extension. I am searching for this type of delay program for a long time. Keep koding!

1 Like

You are welcome.

1 Like

So is it something like wait() function? See Taifun’s reply here:

Not like that.

You can check it with other extensions, compare and then conclude.

1 Like

An helpfull extention :heart_eyes:

1 Like

This is such a helpful extension, thanks very much; it will help to clean up my code a lot!

2 Likes

Is this Delay Synchronous or Asynchronous?

wait() is a synchronous method if I am not wrong.

1 Like

A great extension but can you add a block by which we can call any delay by its name…

1 Like

Awesome Work waiting for this since Long!!!

Try This Please

1 Like