packages feed

hasql-queue 1.2.0.0 → 1.2.0.1

raw patch · 3 files changed

+6/−14 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,4 +1,7 @@ Changelog for hasql-queue+- 1.2.0.1+  - Update README.md+ -1.2.0.0   - Escape notification channel #100   - Remove dequeued count from benchmarks #99
README.md view
@@ -9,7 +9,7 @@ ```haskell createAccount userRecord = transaction Serializable Write $ do   createUser userRecord-  enqueueNotification "queue_channel" emailEncoder [makeVerificationEmail userRecord]+  enqueue "queue_channel" emailEncoder [makeVerificationEmail userRecord] ```  In another thread or process the consumer would drain the queue.@@ -19,15 +19,4 @@   -- up and marking the payload as failed.   forever $ withDequeue "queue_channel" conn emailDecoder 5 1 $     mapM_ sendEmail-```--In the example above we used the `Session` API for enqueuing and the `IO` for-dequeuing.--The `Session` API is useful for composing larger transactions and the `IO` utilizes PostgreSQL notifications to avoid polling.--## Installation--```bash-stack install hasql-queue ```
hasql-queue.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 0c6f854b16370d7971eb6b012e349140f35a0b01327d5144a2a21335b7def387+-- hash: 956ae93525f9dafcc0c9c8149cd2bbc8cfcfe4e63310adec92ce40f995e4cbf4  name:           hasql-queue-version:        1.2.0.0+version:        1.2.0.1 synopsis:       A PostgreSQL backed queue description:    A PostgreSQL backed queue. Please see README.md category:       Web