EventHandle Class
+ + + + +
+
+
+
+ Return value from all subscribe operations
+
+
+
+
+Constructor
+
+
+
+
+
+
+ EventHandle
+
+
+
+ (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
-
+
+
evt+ +
+
+ -
+
+
sub+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+Parameters:
+ +-
+
+
-
+
+
evt+ CustomEvent + + + + +++ + +the custom event.
+
+
+ -
+
+
sub+ Subscriber + + + + +++ + +the subscriber.
+
+
+
+
+
+ -
+
- Index + + +
- Methods + + +
- Properties + + + +
+
+
+
+
+
+ Item Index
+ + + + + + + + + + + + +
+
+
+
+
+ Methods
+ + +
+
+
+
+ ()
+
+
+
+
+ Int
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ detach
+
+
+ ()
+
+
+
+
+ Int
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Detaches this subscriber
+
+
+
+
+
+Returns:
+ +
+
+
+ Int:
+
+ the number of detached listeners
+
+
+
+
+
+
+
+
+
+ monitor
+
+
+
+ (
+
+
+
+
+ EventHandle
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
-
+
+
what+ +
+
+
+
+
+
+ Monitor the event state for the subscribed event. The first parameter +is what should be monitored, the rest are the normal parameters when +subscribing to an event.
+
+
+
+
+
+ Parameters:
+ +-
+
+
-
+
+
what+ String + + + + +++ + +what to monitor ('attach', 'detach', 'publish').
+
+
+
+
+
+
+
+Returns:
+ +
+
+
+ EventHandle:
+
+ return value from the monitor event subscription.
+
+
+
+
+
+
+
+
+
+ 