Open otto-dev opened 2 years ago
Like catching, but for async function bodies.
catching
async
Usage:
Future<Either<dynamic, FooBar>> doAsyncThings() { return catchAsync(() async { final foo = await asyncAction(); final bar = await asyncAction(); return foo + bar; }); }
Like
catching
, but forasync
function bodies.Usage: