SDK
SDK Dart v2.x
2

unsubscribe #

Removes a subscription.

Arguments #

Future<void> unsubscribe(String roomId)
ArgumentTypeDescription
roomid
String
Subscription room ID

Usage #

final roomId = await kuzzle
  .realtime
  .subscribe(
    'nyc-open-data',
    'yellow-taxi',
    {},
    (notification) {
      print(notification);
  });
await kuzzle
  .realtime
  .unsubscribe(roomId);