This fork adds host methods that are more useful for testing.
I've switched to using https://github.com/pdlla/reflex-test-host instead which is basically the same but doesn't support TriggerEvent and PostBuild.
A basic reflex host for backend work.
The main entry point is Reflex.Host.Basic.basicHostWithQuit. The
BasicGuest type that it expects has instances for most of the
important Reflex typeclasses. To create your own Events, use
functions from by Reflex.TriggerEvent. To peform side-effects, use
functions from Reflex.PerformEvent - Performable (BasicGuest t m)
has a MonadIO instance.
For some usage examples, see the example directory
Feel free to file an issue or pull request on Github, or contact us at:
- IRC - #qfpl on Freenode
- Email - <oᴉ˙ldɟb@llǝʞsɐɥ>