diff options
Diffstat (limited to 'src/client/elm/Mailbox.elm')
-rw-r--r-- | src/client/elm/Mailbox.elm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/client/elm/Mailbox.elm b/src/client/elm/Mailbox.elm new file mode 100644 index 0000000..5337f58 --- /dev/null +++ b/src/client/elm/Mailbox.elm @@ -0,0 +1,17 @@ +module Mailbox + ( address + , signal + ) where + +import Signal exposing (Mailbox, Address) + +import Action exposing (Action) + +mailbox : Mailbox Action +mailbox = Signal.mailbox Action.NoOp + +address : Address Action +address = mailbox.address + +signal : Signal Action +signal = mailbox.signal |