Is there any way to postgres notify and listen with kysley?

I want to use
pg.on
but I would create a new instance connection just for that. It would be much better if I can use kysley for pg_notify listener? Could I build a plugin with the current plugin systems? is it possible? or I can already use raw sql query?
Was this page helpful?