Add silent async thread errors convenience

This commit is contained in:
Jesse van den Kieboom 2015-08-13 08:11:47 +02:00
parent 3ed7a22915
commit 746682d422

View file

@ -52,6 +52,14 @@ public class Async
throw err;
}
}
public static async void thread_try(ThreadFunc func)
{
try
{
yield thread(func);
} catch {}
}
}
}