Search
(press
s
)
Path
MetadataErr
Path
DirEntry
ReadErr
WriteErr
DirErr
write
writeBytes
writeUtf8
fromStr
fromBytes
display
isDir
isFile
isSymLink
type
withExtension
delete
readUtf8
readBytes
listDir
deleteEmpty
deleteAll
createDir
createAll
Arg
list
parse
Dir
Err
DirEntry
list
deleteEmpty
deleteAll
create
createAll
Env
cwd
setCwd
exePath
var
decode
dict
platform
File
ReadErr
WriteErr
write
writeBytes
writeUtf8
delete
readBytes
readUtf8
isDir
isFile
isSymLink
type
FileReader
getFileReader
readLine
closeFileReader
FileMetadata
FileMetadata
bytes
isReadonly
type
mode
Http
Request
Method
Header
TimeoutConfig
Response
Err
errorBodyToBytes
defaultRequest
header
handleStringResponse
errorToString
send
get
Stderr
Err
line
write
Stdin
Err
line
bytes
Stdout
Err
line
write
Task
Task
forever
loop
ok
err
attempt
await
onErr
map
mapErr
fromResult
batch
sequence
forEach
result
Tcp
Stream
ConnectErr
StreamErr
withConnect
readUpTo
readExactly
readUntil
readLine
write
writeUtf8
connectErrToStr
streamErrToStr
Url
Url
reserve
fromStr
toStr
append
appendParam
withQuery
query
hasQuery
fragment
withFragment
hasFragment
Utc
Utc
now
toMillisSinceEpoch
fromMillisSinceEpoch
toNanosSinceEpoch
fromNanosSinceEpoch
deltaAsMillis
deltaAsNanos
Sleep
millis
Cmd
Cmd
Err
outputErrToStr
Output
new
arg
args
env
envs
clearEnvs
output
status
exec
Tty
enableRawMode
disableRawMode
Return to Roc packages
Documentation
Sleep
millis
: U64 -> Task {} *
Sleep for at least the given number of milliseconds. This uses
rust's std::thread::sleep
.