☰
In sp_io::offchain
In sp_io::offchain
Structs
HostFunctions
Functions
http_request_add_header
http_request_start
http_request_write_body
http_response_headers
http_response_read_body
http_response_wait
is_validator
local_storage_clear
local_storage_compare_and_set
local_storage_get
local_storage_set
network_state
random_seed
set_authorized_nodes
sleep_until
submit_transaction
timestamp
?
Function
sp_io
::
offchain
::
sleep_until
source
·
[
−
]
pub fn sleep_until(deadline:
Timestamp
)
Expand description
Pause the execution until
deadline
is reached.