guard library

Functions

asyncGuard<T>(Future<T> callback(), [T defaultValue]) Future<T>
guard<T>(T callback(), [T defaultValue]) → T