Interface MessageBus.Subscription

Enclosing interface:
MessageBus

public static interface MessageBus.Subscription
Handle for managing subscriptions.
Since:
0.1 (2025-08-10)
Author:
Andrey Santrosyan
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the unique identifier for this subscription.
    void
    Removes this subscription from the message bus.
  • Method Details

    • unsubscribe

      void unsubscribe()
      Removes this subscription from the message bus.
    • getId

      String getId()
      Gets the unique identifier for this subscription.
      Returns:
      the subscription ID