subscribe For Event
@MapboxExperimental
Subscribes to a `TileStoreGenericEvent` event. Note: The user-provided callbacks will be executed on a TileStore-controlled worker thread; it is the responsibility of the user to dispatch to a user-controlled thread and avoid blocking TileStore worker thread for long time.
Return
automatic cancellation object. You should not get notifications anymore when this object is destroyed or after you call cancel.
See also
Parameters
event Name
The name of event to subscribe to. Valid names are listed in \c TileStoreEventNames.
callback
The callback to execute when subscribed event happens