hasSubscribers


Description:

public Result<bool,Error> hasSubscribers (string topic)

Returns whether topic has at least one subscriber.

Parameters:

topic

topic name.

Returns:

Result.ok(true/false) for subscriber existence, or Result.error(EventBusError.INVALID_ARGUMENT) when topic is empty.