Namespace: FsToolkit.ErrorHandling
Apply a function to the value of an async option if it is Some. If the option is None, return None.
('TInput -> 'TOutput) -> Async<'TInput option> -> Async<'TOutput option>AsyncOption.map (fun x -> x + 1) (AsyncOption.some 1)
// async { Some 2 }AsyncOption.map (fun x -> x + 1) (Async.singleton None)
// async { None }