[−][src]Function hdk::api::sleep
pub fn sleep(duration: Duration) -> ZomeApiResult<()>
Lets the DNA runtime sleep for the given duration.
Examples
pub fn handle_some_function(content: String) -> ZomeApiResult<()> { // ... hdk::sleep(Duration::from_millis(100)); // ... Ok(()) }