jxxcarlson/elm-review-codeinstaller/10.2.1

NOTE: the latest version is 13.0.0

Install.Subscription

Use this rule to add to the list of subscriptions.

makeRule : String -> String -> Rule

Suppose that you have

subscriptions =
    Sub.batch [ foo, bar ]

and that you want to add baz to the list. To do this, say

Insall.Subscription.makeRule "Badkend" "baz"

The result is

subscriptions =
    Sub.batch [ foo, bar, baz ]