MBMObserver.h 408 B

12345678910111213141516
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBMEvent;
  4. /** An `observer` interface used to subscribe for an `observable` events. */
  5. NS_SWIFT_NAME(Observer)
  6. @protocol MBMObserver
  7. /**
  8. * Notifies an `observer` about an `event`.
  9. *
  10. * @param event An `event` emitted by the `observable`.
  11. */
  12. - (void)notifyForEvent:(nonnull MBMEvent *)event;
  13. @end