new Event(type, payload, time)
It represents simple Event used inside of the KmlRefreshListener.
Parameters:
Name | Type | Description |
---|---|---|
type |
String | type of the event. The consumers decides whether the event is relevant for them based on this type. |
payload |
Object | Object representing payload of the event. It is possible to schedule event with some additional information |
time |
Number | Number of milliseconds before the event should occur. |