You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be a more sensible API interface and allow us to implement tracking multiple assets on one connection without a further breaking change.
The usage after this change would look like:
constsubscriber=newSubscriber(ablyOptions);// basically just a thin wrapper around Ably.Realtimeconstasset=subscriber.get('my-trackable-id');// analogous to Ably.Realtime.Channels.getasset.onLocationUpdate(location=>{// handle location update});asset.onStatusUpdate(location=>{// handle status update});awaitasset.start();// analogous to RealtimeChannel.attachawaitsubscriber.sendChangeRequest({accuracy: Accuracy.Low,desiredInterval: 3000,minimumDisplacement: 5,});
The text was updated successfully, but these errors were encountered:
This would be a more sensible API interface and allow us to implement tracking multiple assets on one connection without a further breaking change.
The usage after this change would look like:
The text was updated successfully, but these errors were encountered: