1///|
2pub async fn[A] suspend(f : ((type parameter A
A) -> Unit
Unit) -> Unit
Unit) -> type parameter A
A = "%async.suspend"
3
4///|
5pub async fn[A] suspend_err(
6 f : ((type parameter A
A) -> Unit
Unit, (type Error
Error) -> Unit
Unit) -> Unit
Unit
7) -> type parameter A
A raise = "%async.suspend"
8
9///|
10pub fn run_async(f : async () -> Unit
Unit) -> Unit
Unit = "%async.run"
11