Sleep for a while

October 30, 2009 by Jean

Make the current request sleep for a while:

thread = createObject("java", "java.lang.Thread");
thread.sleep(javaCast("long", 1000*attributes.interval));

In: ColdFusion