startMonitor abstract method

  1. @Deprecated("Use Monitor Service")
Future<void> startMonitor(
  1. String privateKey,
  2. Function acceptStream, {
  3. String? regex,
})

Creates a monitor connection to atSign's cloud secondary server.Whenever a notification is created on the server, monitor receives the notification on the client. Optionally a regular expression and be passed to filter the notifications deprecated Use NotificationService.subscribe

Implementation

@Deprecated("Use Monitor Service")
Future<void> startMonitor(String privateKey, Function acceptStream,
    {String? regex});