Future<T> thread<T>(FutureOr<T> Function() action){ return compute<void, T>((_){ return action(); }, null); }