Got a hopefully simple problem. When I receive action A in my update function, I\'d like to return a task that does some stuff, then results in action B, which is received by t
StartApp requires a port for tasks in addition to main. Change your main function and add the tasks port like this and you'll be all set:
app =
start
{ init = init
, update = update
, view = view
, inputs = []
}
main =
app.html
port tasks : Signal (Task.Task Effects.Never ())
port tasks =
app.tasks