General-purpose and cross-domain pub/sub