RBEventListener Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | RBEventCenter.h |
– event:wasRaisedBy:withData:completion:
required method
Receives and handles a raised event.
- (void)event:(nonnull NSString *)eventName wasRaisedBy:(nullable id)sender withData:(nullable id)data completion:(nullable dispatch_block_t)completion
Parameters
eventName |
The name of the event raised. |
---|---|
sender |
The object that raised the event. |
data |
The user data associated with the event. |
completion |
The completion block to call when the event has been handled. |
Discussion
Receives and handles a raised event.
Declared In
RBEventCenter.h