package org.realityforge.arez;

import javax.annotation.Nonnull;

/**
 * Interface for receiving spy events.
 */
@FunctionalInterface
public interface SpyEventHandler
{
  /**
   * Report an event in the Arez system.
   *
   * @param event the event that occurred.
   */
  void onSpyEvent( @Nonnull Object event );
}

Define interface for "spy" that can be used to receive notifications on different events within an Arez system
Define interface for "spy" that can be used to receive notifications on different events within an Arez system
