Implementation
Elixir

Be concise.

Be useful.

All contributions dictatorially edited by webmasters to match personal tastes.

Please do not paste any copyright violating resource.

Please try to avoid dependencies to third-party libraries and frameworks.

Other implementations
import "time"
time.Sleep(5 * time.Second)
setTimeout(function(){
	// Instructions after delay
},5000);
Thread.sleep(5000);
sleep 5;
sleep(5);
#include <unistd.h>
usleep(5000000);
use std::{thread, time};
thread::sleep(time::Duration::from_millis(5000));
import core.thread;
Thread.sleep(5.seconds);
import time
time.sleep(5)
import 'dart:io';
sleep(const Duration(seconds: 5));
SysUtils
sleep(5000);
import "dart:async";
await new Future.delayed(const Duration(seconds : 5));
System.Threading
System.Threading.Thread.Sleep(5000)
Control.Concurrent.threadDelay 5000000
sleep 5
timer:sleep(5000).
local start = os.clock()
while os.clock() - start < 5 do end
delay 5.0;
using System.Threading;
Thread.Sleep(5000);
#include <thread>
#include <chrono>
std::this_thread::sleep_for(5s);
Thread.sleep(5000)
(Thread/sleep 5000)