RemoteData
The RemoteData type
RemoteData Engage.Http.Error a
The WebData type
downgrade : RemoteData e a -> RemoteData e a
Downgrade the RemoteData
Use this with caution, you lose some information with this
fail : e -> RemoteData e a -> RemoteData e a
Fail a RemoteData
isLoading : RemoteData e a -> Basics.Bool
Check if the RemoteData is loading
isSuccess : RemoteData e a -> Basics.Bool
Check if the RemoteData is a success
loading : RemoteData e a -> RemoteData e a
Get a loading RemoteData
map : (a -> b) -> RemoteData e a -> RemoteData e b
Map onto the RemoteData
mapError : (e -> ee) -> RemoteData e a -> RemoteData ee a
Map the error of RemoteData
toError : RemoteData e a -> Maybe e
Get the error of RemoteData
toMaybe : RemoteData e a -> Maybe a
Get the Maybe value of RemoteData
upgrade : RemoteData e a -> RemoteData e a
Upgrade the RemoteData