fromOption<A> function

TaskOption<A> fromOption<A>(
  1. Option<A> option
)

Returns a TaskOption that resolves to the given Option.

Implementation

TaskOption<A> fromOption<A>(Option<A> option) => TaskOption(T.value(option));