Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Impl a few features & refactor some code based on design discussion.
Added async-trait as an optional dep. For now, included only when postgres is enabled. Extension traits are now being used for PgConnection, PgPoolConnection & PgPool for listen/notify functionality. Only two extension traits were introduced. Only a single trait method is present on the extension traits and it works for single or multi channel listening setups. Automatic reconnect behavior is implemented for PgPool based listeners. All logic has been cut over to the `recv` impls for the PgListener variants. Use async-stream for a nice Stream interface.
- Loading branch information