Package kos.api

Class EventBusSink.Result

  • Enclosing interface:
    EventBusSink

    public static class EventBusSink.Result
    extends Object
    Represents the outcome of an attempt to initialise either EventSubscriptionSink or EventPublisherSink. Developers are encouraged to not throw exceptions when initialising Sinks. As a last-resort, one might store exceptions in failureCause. If the Sink is not entitled to initialise a given address, one can just return NOT_ATTEMPTED.