This API subscribes to events of all the EventKeys specified using a Subsystem
and a pattern to match the remaining Event Key and return subscription handle
which can be used as a kill switch.
It takes callback function which gets triggered when ever the events are received.
The latest events available for the given Event Keys will be received first.
subscription to be made under the subsystem
OptionalmaxFrequency: numberthe frequency with which events are to be received (in Hz)
Optionalpattern: stringoptional pattern to match against the event key.supported glob-style patterns
- h?llo subscribes to hello, hallo and hxllo
- h*llo subscribes to hllo and heeeello
- h[ae]llo subscribes to hello and hallo, but not hillo
Subscription
This API subscribes to multiple eventKeys and receive events at every frequency
and return subscription handle which can be used as a kill switch.
It takes callback function which gets triggered when ever the events are received.
The latest events available for the given Event Keys will be received first.
Set of event keys to be subscribed.
OptionalmaxFrequency: numberthe frequency with which events are to be received (in Hz)
Subscription
This API subscribes to all observe events It takes callback function which gets triggered when ever the events are received. The latest events available for the given Event Keys will be received first.
OptionalmaxFrequency: numberthe frequency with which events are to be received (in Hz)
Subscription
A Event Service API provides client side methods to interact with the event server.