emit_with_key

Function emit_with_key 

Source
pub async fn emit_with_key<T: NotificationPayload>(
    db: &mut PgConnection,
    key: &str,
    payload: &T,
) -> Result<(), Error>