Interface Subscription

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
ScriptSequence, ScriptUiOverlay
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Subscription extends AutoCloseable
A removable event or runtime registration.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    default void
     
  • Method Details

    • close

      void close()
      Specified by:
      close in interface AutoCloseable
    • unsubscribe

      default void unsubscribe()