(self: Micro<A, E, R>)
| 2920 | * @category error handling |
| 2921 | */ |
| 2922 | export const option = <A, E, R>(self: Micro<A, E, R>): Micro<Option.Option<A>, never, R> => |
| 2923 | match(self, { onFailure: Option.none, onSuccess: Option.some }) |
| 2924 | |
| 2925 | /** |
| 2926 | * Replace the success value of the given `Micro` effect with an `Either`, |