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
the frequency with which events are to be received (in Hz)
optional 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 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.
the function which gets triggered on receiving an event
a optional error callback which gets called on receiving error. it can be Parsing error or a Runtime error [for ex. Gateway exception]
a optional close callback which gets called when the connection is closed.
Subscription
Publishes an event
the event to be published
Done as Promise
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.
the frequency with which events are to be received (in Hz)
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.
the function which gets triggered on receiving an event
a optional error callback which gets called on receiving error. it can be Parsing error or a Runtime error [for ex. Gateway exception]
a optional close callback which gets called when the connection is closed.
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.
the 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.
the function which gets triggered on receiving an Observe Event
a optional error callback which gets called on receiving error. it can be Parsing error or a Runtime error [for ex. Gateway exception]
a optional close callback which gets called when the connection is closed.
Subscription
Generated using TypeDoc
A Event Service API provides client side methods to interact with the event server.