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
/
Pot
Pot
sealed
trait
Pot
[
+
A
]
Companion:
object
Graph
Supertypes
Known subtypes
class
Object
trait
Matchable
class
Any
class
Error
object
Pending
.type
class
Ready
[
A
]
Value members
Value members
Concrete methods
def
flatMap
[
B
](
f:
A
=>
Pot
[
B
]):
Pot
[
B
]
def
flatten
[
B
](
implicit
ev:
A
<:<
Pot
[
B
]):
Pot
[
B
]
def
fold
[
B
](
fp:
=>
B
,
fe:
Throwable
=>
B
,
fr:
A
=>
B
):
B
def
isError
:
Boolean
def
isPending
:
Boolean
def
isReady
:
Boolean
def
map
[
B
](
f:
A
=>
B
):
Pot
[
B
]
def
toOption
:
Option
[
A
]
def
toOptionTry
:
Option
[
Try
[
A
]]
def
toPotOption
:
PotOption
[
A
]
def
void
:
Pot
[
Unit
]