unsubscribe


Description:

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

Unsubscribes all handlers from topic.

Parameters:

topic

topic name.

Returns:

Result.ok(true/false) where value indicates whether any subscriptions were removed, or Result.error(EventBusError.INVALID_ARGUMENT) when topic is empty.