broadcastLocal(eventName, payload, opts) {
		if (Array.isArray(opts) || utils.isString(opts)) opts = { groups: opts };
		else if (opts == null) opts = {};

		if (opts.groups && !Array.isArray(opts.groups)) opts.groups = [opts.groups];

		this.logger.debug(
			`Broadcast '${eventName}' local event` +
				(opts.groups ? ` to '${opts.groups.join(", ")}' group(s)` : "") +
				"."
		);

		// Call internal subscribers
		if (/^\$/.test(eventName)) this.localBus.emit(eventName, payload);

		const ctx = this.ContextFactory.create(this, null, payload, opts);
		ctx.eventName = eventName;
		ctx.eventType = "broadcastLocal";
		ctx.eventGroups = opts.groups;

		return this.emitLocalServices(ctx);
	}
Broadcast an event for all local services

@param {string} eventName
@param {any?} payload
@param {Object?} groups
@returns

@memberof ServiceBroker