As we have to use ports to access the FileReader API, I’m facing the
situation where I want to do the equivalent of
http.get ("signature" := string) "/api/signature"
`Task.andThen` (\sig -> sendS3 sig)
|> Task.perform....
where port sendS3Cmd : String -> Cmd msg
Clearly this does not type check, but I’m wondering whether there any ways
to chain these side effects other than waiting for the upload function to
be recalled?
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.