crystal
crystal
crystal
Pot
Pot
Error
Pending
Ready
PotOption
PotOption
Error
Pending
ReadyNone
ReadySome
UnitMonadOps
ViewF
ViewF
ViewListF
ViewOps
ViewOptF
crystal.implicits
AnyOptionToPotOps
AnyToPotOps
OptionApplicativeUnitOps
PotCats
PotOptionCats
TryOptionToPotOps
TryToPotOps
throwable
crystal
/
crystal
/
PotOption
PotOption
sealed
trait
PotOption
[
+
A
]
Companion:
object
Graph
Supertypes
Known subtypes
class
Object
trait
Matchable
class
Any
class
Error
object
Pending
.type
object
ReadyNone
.type
class
ReadySome
[
A
]
Value members
Value members
Concrete methods
def
flatMap
[
B
](
f:
A
=>
PotOption
[
B
]):
PotOption
[
B
]
def
flatten
[
B
](
implicit
ev:
A
<:<
PotOption
[
B
]):
PotOption
[
B
]
def
fold
[
B
](
fp:
=>
B
,
fe:
Throwable
=>
B
,
frn:
=>
B
,
frs:
A
=>
B
):
B
def
isDefined
:
Boolean
def
isError
:
Boolean
def
isPending
:
Boolean
def
isReady
:
Boolean
def
map
[
B
](
f:
A
=>
B
):
PotOption
[
B
]
def
toOption
:
Option
[
A
]
def
toOptionTry
:
Option
[
Try
[
A
]]
def
toPot
:
Pot
[
A
]
def
void
:
PotOption
[
Unit
]