Deadpan-DDP-0.9.6.0: Write clients for Meteor's DDP Protocol

Safe HaskellNone
LanguageHaskell2010

Web.DDP.Deadpan.GUID

Description

A small helper to generate GUIDs.

Provides functions to generate simple GUIDs.

Synopsis

Documentation

guid2SubReady :: GUID -> EJsonValue Source

Construct a matcher for subscription-ready based on ID.

TODO: Allow for propper matcher behavior and abstraction a-la clojure's midje methods. This is important as there could be multiple subscription ids listed here...

guid2NoSub :: GUID -> EJsonValue Source

Construct a matcher for subscription failure based on ID.