Interface Emitter.EmitterFinishedListener

All Superinterfaces:
EventListener
Enclosing class:
Emitter
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 static interface Emitter.EmitterFinishedListener extends EventListener

Listener interface for handling emitter completion events.

Implementations of this interface can be registered to an emitter to be notified when the emitter finishes its lifecycle.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    finished(Emitter emitter)
    Called when the emitter has finished its lifecycle.
  • Method Details

    • finished

      void finished(Emitter emitter)
      Called when the emitter has finished its lifecycle.
      Parameters:
      emitter - the emitter that has finished