🔥 Introducing the free Nap App, a microsleep module for delays in milliseconds!

Hi all,

At a certain point, any Maker comes across a workflow where a sleep module is needed that delays execution for less than a second. The default Sleep module only accepts a delay in seconds, so I have created Nap, a free App that accepts milliseconds!

You can install the Nap App in your Organization via this link: https://www.make.com/en/hq/app-invitation/ac581e6409eebb517c95f3d8f4555524

How does it work?
Well, just as easy as 1000, 2000, 3000…
nap

Good to know
— Minimum and maximum values
You can set the minimum as low as 1 ms, but be mindful of the deviation. (more about that below). Because the Nap App uses a Custom IML function with a maximum runtime of 10 seconds, the maximum value you can set is 10000ms. But there is a very big overlap with the Sleep module, so if you need more than 10 seconds, just use the Sleep module.

— Deviation
I did some tests and I noticed a slight delay in the delay, which gives a deviation of 5-15ms no matter the amount of milliseconds you give in. So while you can go as low as 1ms, the result would be 6-16ms. But guess what, the default Sleep module has this exact same behaviour.

Anyway, it is free. Use it at your own discretion. It is useful in those cases where 1-second delay is just too much. If I decide to get it verified, I’ll let you know.

Cheers,
Henk

6 Likes

Great work. How long did it take you to develop?

30 minutes, I think? It is the simplest thing, and I knew what to do and how. :grin:

2 Likes

I made an update to the code which trimmed off just a little bit of deviation, so the module should be more accurate now. Keep in mind that execution will always create some deviation.

Cheers,
Henk

2 Likes