/// Runs [work] inline: a browser has no isolates for it. Future offThread(R Function() work) async => work();