port projects : (Json.Value -> Msg) -> Sub Msg type Msg = NewProjects Json.Value | OtherThings
subscriptions model = projects NewProjects Then in the update function, run the decoder on the JSON value in the NewProjects tag, and handle the succeeding and failing cases. -- 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.
