[doc] Document the way to emit events using the `primus-emitter` format.