This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.

ActionCable.Msg

Types

type Msg = Welcome | Ping Int | Confirm ID.Identifier | ReceiveData ID.Identifier JD.Value | Rejected ID.Identifier | NoOp

The message types you might receive from the server.

module ActionCable.Msg exposing (Msg(..))

{-|

# Types
@docs Msg

-}

-- stdlib imports

import Json.Decode as JD


-- local imports

import ActionCable.Identifier as ID


--


{-| The message types you might receive from the server.
-}
type Msg
    = Welcome
    | Ping Int
    | Confirm ID.Identifier
    | ReceiveData ID.Identifier JD.Value
    | Rejected ID.Identifier
    | NoOp