It seems like a pretty fundamental function, which is currently missing from the Core. It could be as simple as `sleep(uint64_t nanos)`.