UNPKG

libpiggy

Version:

Use a PostgreSQL database like a JSON document store.

11 lines (9 loc) 183 B
const listen = async function ({client}) { try { await client.query(`LISTEN watchers`); return {client}; } catch (error) { throw error; } }; export default listen;