feat: more suspended nodes!

This commit is contained in:
Jonathan Kelley committed 2021-07-14 23:18:02 -04:00
1 parent c52af221f7
commit de9f61bcf4
20 files changed
+644 -148

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ fn main() {}
const App: FC<()> = |cx| {
// create a new future
let _fut = cx.use_hook(
|| {
|_| {
//
async { loop {} }
// Box::pin(async { loop {} }) as Pin<Box<dyn Future<Output = ()>>>